javax.xml.crypto.enc

Interface XMLDecryptContext

All Superinterfaces:
XMLCryptoContext
All known implementing classes:
DOMDecryptContext

  1. public interface XMLDecryptContext
  2. extends XMLCryptoContext
Contains context information for decrypting XML 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
  1. EncryptionMethod
getEncryptionMethod()
Returns the EncryptionMethod for decryption if the EncryptionMethod is absent from the EncryptedType
  1. void
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

  1. EncryptionMethod getEncryptionMethod( )
Returns the EncryptionMethod for decryption if the EncryptionMethod is absent from the EncryptedType

setEncryptionMethod

  1. void setEncryptionMethod(EncryptionMethod encMethod)
Specifies the EncryptionMethod for decryption if the EncryptionMethod is absent from the EncryptedType
Parameters:
encMethod - the EncryptionMethod for decryption