javax.xml.crypto.enc
Interface XMLDecryptContext
All Superinterfaces:
All known implementing classes:
- public interface XMLDecryptContext
- extends XMLCryptoContext
EncryptedType
structures. This interface is primarily intended for type-safety.
See Also:
EncryptedData.decrypt(javax.xml.crypto.enc.XMLDecryptContext)
,
EncryptedData.decryptAndReplace(javax.xml.crypto.enc.XMLDecryptContext)
,
EncryptedKey.decrypt(javax.xml.crypto.enc.XMLDecryptContext)
Method Summary
Modifier and Type | Method and Description |
---|---|
getEncryptionMethod()
Returns the EncryptionMethod for decryption if the
EncryptionMethod is absent from the EncryptedType
|
|
|
setEncryptionMethod(EncryptionMethod encMethod)
Specifies the EncryptionMethod for decryption if the
EncryptionMethod is absent from the EncryptedType
|
Methods inherited from interface javax.xml.crypto.XMLCryptoContext |
---|
get, getBaseURI, getDefaultNamespacePrefix, getKeySelector, getNamespacePrefix, getProperty, getURIDereferencer, put, putNamespacePrefix, setBaseURI, setDefaultNamespacePrefix, setKeySelector, setProperty, setURIDereferencer |
Method Detail
getEncryptionMethod
- EncryptionMethod getEncryptionMethod( )
Returns the EncryptionMethod for decryption if the
EncryptionMethod is absent from the EncryptedType
setEncryptionMethod
- void setEncryptionMethod(EncryptionMethod encMethod)
Specifies the EncryptionMethod for decryption if the
EncryptionMethod is absent from the EncryptedType
Parameters:
encMethod
- the EncryptionMethod for decryption