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 TypeMethodDescriptionprivate Cipher
XMLCipher.constructCipher
(String algorithm, String digestAlgorithm) Construct a Cipher objectprivate Cipher
XMLCipher.constructCipher
(String algorithm, String digestAlgorithm, Exception nsae) protected 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
.private Document
XMLCipher.decryptElement
(Element element) DecryptsEncryptedData
in a single-part operation.private Document
XMLCipher.decryptElementContent
(Element 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) private Node
DocumentSerializer.deserialize
(Node ctx, InputSource inputSource) Serializer.deserialize
(byte[] source, Node ctx) TransformSerializer.deserialize
(byte[] source, Node ctx) TransformSerializer.deserialize
(String source, Node ctx) private Node
TransformSerializer.deserialize
(Node ctx, Source source) 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.private byte[]
XMLCipherInput.getDecryptBytes()
Internal method to get bytes in decryption modestatic 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.(package private) CipherData
XMLCipher.Factory.newCipherData
(Element element) (package private) CipherReference
XMLCipher.Factory.newCipherReference
(Element element) (package private) EncryptedData
XMLCipher.Factory.newEncryptedData
(Element element) (package private) EncryptedKey
XMLCipher.Factory.newEncryptedKey
(Element element) (package private) KeyInfo
XMLCipher.Factory.newKeyInfo
(Element element) void
CipherData.setCipherReference
(CipherReference reference) Sets theCipherData
's reference.void
XMLCipher.Factory.CipherDataImpl.setCipherReference
(CipherReference reference) Sets theCipherData
's reference.void
CipherData.setCipherValue
(CipherValue value) Sets theCipherData
's value.void
XMLCipher.Factory.CipherDataImpl.setCipherValue
(CipherValue value) Sets theCipherData
's value.Constructors in org.apache.xml.security.encryption that throw XMLEncryptionExceptionModifierConstructorDescriptionprivate
Creates a newXMLCipher
.XMLCipherInput
(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