|
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.dom.DOMCryptoContext
javax.xml.crypto.enc.dom.DOMDecryptContext
public class DOMDecryptContext
A DOM-specific XMLDecryptContext for decrypting.
| Constructor Summary | |
|---|---|
DOMDecryptContext(java.security.Key key,
org.w3c.dom.Element encData)
Creates a DOMDecryptContext with the specified decryption
key and encrypted data element to decrypt. |
|
DOMDecryptContext(KeySelector ks,
org.w3c.dom.Element encData)
Creates a DOMDecryptContext with the specified decryption
key selector and encrypted data element to decrypt. |
|
| Method Summary | |
|---|---|
org.w3c.dom.Element |
getEncryptedData()
Returns the EncryptedData element. |
EncryptionMethod |
getEncryptionMethod()
getEncryptionMethod |
void |
setEncryptionMethod(EncryptionMethod encMethod)
Specifies the EncryptionMethod for decryption if the EncryptionMethod is absent from the EncryptedType |
| Methods inherited from class javax.xml.crypto.dom.DOMCryptoContext |
|---|
get, getBaseURI, getDefaultNamespacePrefix, getElementById, getKeySelector, getNamespacePrefix, getProperty, getURIDereferencer, iterator, put, putNamespacePrefix, setBaseURI, setDefaultNamespacePrefix, setIdAttributeNS, setKeySelector, setProperty, setURIDereferencer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.crypto.XMLCryptoContext |
|---|
get, getBaseURI, getDefaultNamespacePrefix, getKeySelector, getNamespacePrefix, getProperty, getURIDereferencer, put, putNamespacePrefix, setBaseURI, setDefaultNamespacePrefix, setKeySelector, setProperty, setURIDereferencer |
| Constructor Detail |
|---|
public DOMDecryptContext(java.security.Key key,
org.w3c.dom.Element encData)
DOMDecryptContext with the specified decryption
key and encrypted data element to decrypt.
key - the decryption keyencData - the EncryptedType element: EncryptedData
or EncryptedKey
java.lang.NullPointerException - if key or encData
is null
public DOMDecryptContext(KeySelector ks,
org.w3c.dom.Element encData)
DOMDecryptContext with the specified decryption
key selector and encrypted data element to decrypt.
ks - the decryption key selectorencData - the EncryptedData element
java.lang.NullPointerException - if ks or encData
is null| Method Detail |
|---|
public EncryptionMethod getEncryptionMethod()
getEncryptionMethod in interface XMLDecryptContextpublic void setEncryptionMethod(EncryptionMethod encMethod)
XMLDecryptContext
setEncryptionMethod in interface XMLDecryptContextencMethod - the EncryptionMethod for decryptionpublic org.w3c.dom.Element getEncryptedData()
EncryptedData element.
EncryptedData element
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||