|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.crypto.enc.dom.DOMToBeEncryptedXML
public class DOMToBeEncryptedXML
A representation of the ToBeEncryptedXML class which contains a XML Element or content of an Element
Constructor Summary | |
---|---|
DOMToBeEncryptedXML(org.w3c.dom.Element element,
CanonicalizationMethod canonMethod)
Creates a new DOMToBeEncryptedXML |
|
DOMToBeEncryptedXML(org.w3c.dom.NodeList content,
CanonicalizationMethod canonMethod)
Creates a new DOMToBeEncryptedXML |
Method Summary | |
---|---|
CanonicalizationMethod |
getCanonicalizationMethod()
Returns the canonicalization method |
java.lang.String |
getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted. |
java.lang.String |
getMimeType()
Returns the mime type of the data that has been encrypted. |
org.w3c.dom.NodeList |
getNodeList()
Returns the XML to be encrypted. |
java.lang.String |
getType()
Returns a URI identifying the type of the plaintext form of the encrypted content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DOMToBeEncryptedXML(org.w3c.dom.Element element, CanonicalizationMethod canonMethod)
element
- the Element to be encryptedcanonMethod
- the optional serialization method (may be null
)
java.lang.NullPointerException
- if element
is nullpublic DOMToBeEncryptedXML(org.w3c.dom.NodeList content, CanonicalizationMethod canonMethod)
content
- the content of an Element to be encryptedcanonMethod
- the optional serialization method (may be null
)
java.lang.NullPointerException
- if content
is nullMethod Detail |
---|
public org.w3c.dom.NodeList getNodeList()
NodeList
.
For to-be-encrypted XML that is of the 'element' type, the to-be-encrypted
element is returned as the first item in the returning NodeList
.
public java.lang.String getType()
getType
in interface ToBeEncrypted
getType
in interface ToBeEncryptedXML
public java.lang.String getMimeType()
getMimeType
in interface ToBeEncrypted
getMimeType
in interface ToBeEncryptedXML
null
if not specifiedpublic java.lang.String getEncoding()
getEncoding
in interface ToBeEncrypted
getEncoding
in interface ToBeEncryptedXML
null
if not specifiedpublic CanonicalizationMethod getCanonicalizationMethod()
ToBeEncryptedXML
getCanonicalizationMethod
in interface ToBeEncryptedXML
null
if not specified
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |