Uses of Class
org.apache.xml.security.encryption.XMLEncryptionException
Packages that use XMLEncryptionException
-
Uses of XMLEncryptionException in org.apache.xml.security.encryption
Methods in org.apache.xml.security.encryption that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionprotected static byte[]
AbstractSerializer.createContext
(byte[] source, Node ctx) XMLCipher.createEncryptedData
(int type, String value) Creates anEncryptedData
Element
.XMLCipher.createEncryptedKey
(int type, String value) Creates anEncryptedKey
Element
.XMLCipher.decryptKey
(EncryptedKey encryptedKey) Decrypt a key from a passed in EncryptedKey structure.XMLCipher.decryptKey
(EncryptedKey encryptedKey, String algorithm) Decrypt a key from a passed in EncryptedKey structurebyte[]
XMLCipher.decryptToByteArray
(Element element) Decrypt an EncryptedData element to a byte array.abstract Node
AbstractSerializer.deserialize
(byte[] source, Node ctx) abstract Node
AbstractSerializer.deserialize
(String source, Node ctx) DocumentSerializer.deserialize
(byte[] source, Node ctx) DocumentSerializer.deserialize
(String source, Node ctx) Serializer.deserialize
(byte[] source, Node ctx) TransformSerializer.deserialize
(byte[] source, Node ctx) TransformSerializer.deserialize
(String source, Node ctx) XMLCipher.encryptKey
(Document doc, Key key) Encrypts a key to an EncryptedKey structureXMLCipher.encryptKey
(Document doc, Key key, String mgfAlgorithm, byte[] oaepParams) Encrypts a key to an EncryptedKey structureXMLCipher.encryptKey
(Document doc, Key key, String mgfAlgorithm, byte[] oaepParams, SecureRandom random) Encrypts a key to an EncryptedKey structurebyte[]
XMLCipherInput.getBytes()
Dereferences the input and returns it as a single byte array.static XMLCipher
XMLCipher.getInstance()
Returns anXMLCipher
that implements no specific transformation, and can therefore only be used for decrypt or unwrap operations where the encryption method is defined in theEncryptionMethod
element.static XMLCipher
XMLCipher.getInstance
(String transformation) Returns anXMLCipher
that implements the specified transformation and operates on the specified context document.static XMLCipher
XMLCipher.getInstance
(String transformation, String canon) Returns anXMLCipher
that implements the specified transformation, operates on the specified context document and serializes the document with the specified canonicalization algorithm before it encrypts the document.static XMLCipher
XMLCipher.getInstance
(String transformation, String canon, String digestMethod) Returns anXMLCipher
that implements the specified transformation, operates on the specified context document and serializes the document with the specified canonicalization algorithm before it encrypts the document.static XMLCipher
XMLCipher.getProviderInstance
(String provider) Returns anXMLCipher
that implements no specific transformation, and can therefore only be used for decrypt or unwrap operations where the encryption method is defined in theEncryptionMethod
element.static XMLCipher
XMLCipher.getProviderInstance
(String transformation, String provider) Returns anXMLCipher
that implements the specified transformation and operates on the specified context document.static XMLCipher
XMLCipher.getProviderInstance
(String transformation, String provider, String canon) Returns anXMLCipher
that implements the specified transformation, operates on the specified context document and serializes the document with the specified canonicalization algorithm before it encrypts the document.static XMLCipher
XMLCipher.getProviderInstance
(String transformation, String provider, String canon, String digestMethod) Returns anXMLCipher
that implements the specified transformation, operates on the specified context document and serializes the document with the specified canonicalization algorithm before it encrypts the document.void
Initializes this cipher with a key.XMLCipher.loadEncryptedData
(Document context, Element element) Returns anEncryptedData
interface.XMLCipher.loadEncryptedKey
(Document context, Element element) Returns anEncryptedKey
interface.XMLCipher.loadEncryptedKey
(Element element) Returns anEncryptedKey
interface.void
CipherData.setCipherReference
(CipherReference reference) Sets theCipherData
's reference.void
CipherData.setCipherValue
(CipherValue value) Sets theCipherData
's value.Constructors in org.apache.xml.security.encryption that throw XMLEncryptionExceptionModifierConstructorDescriptionXMLCipherInput
(CipherData data) Constructor for processing encrypted octetsXMLCipherInput
(EncryptedType input) Constructor for processing encrypted octets -
Uses of XMLEncryptionException in org.apache.xml.security.keys
Methods in org.apache.xml.security.keys that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionvoid
KeyInfo.add
(EncryptedKey encryptedKey) Method addEncryptedKey