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 CipherXMLCipher.constructCipher(String algorithm, String digestAlgorithm) Construct a Cipher objectprivate CipherXMLCipher.constructCipher(String algorithm, String digestAlgorithm, Exception nsae) protected static byte[]AbstractSerializer.createContext(byte[] source, Node ctx) XMLCipher.createEncryptedData(int type, String value) Creates anEncryptedDataElement.XMLCipher.createEncryptedKey(int type, String value) Creates anEncryptedKeyElement.private DocumentXMLCipher.decryptElement(Element element) DecryptsEncryptedDatain a single-part operation.private DocumentXMLCipher.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 NodeAbstractSerializer.deserialize(byte[] source, Node ctx) abstract NodeAbstractSerializer.deserialize(String source, Node ctx) DocumentSerializer.deserialize(byte[] source, Node ctx) DocumentSerializer.deserialize(String source, Node ctx) private NodeDocumentSerializer.deserialize(Node ctx, InputSource inputSource) Serializer.deserialize(byte[] source, Node ctx) TransformSerializer.deserialize(byte[] source, Node ctx) TransformSerializer.deserialize(String source, Node ctx) private NodeTransformSerializer.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 XMLCipherXMLCipher.getInstance()Returns anXMLCipherthat implements no specific transformation, and can therefore only be used for decrypt or unwrap operations where the encryption method is defined in theEncryptionMethodelement.static XMLCipherXMLCipher.getInstance(String transformation) Returns anXMLCipherthat implements the specified transformation and operates on the specified context document.static XMLCipherXMLCipher.getInstance(String transformation, String canon) Returns anXMLCipherthat 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 XMLCipherXMLCipher.getInstance(String transformation, String canon, String digestMethod) Returns anXMLCipherthat 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 XMLCipherXMLCipher.getProviderInstance(String provider) Returns anXMLCipherthat implements no specific transformation, and can therefore only be used for decrypt or unwrap operations where the encryption method is defined in theEncryptionMethodelement.static XMLCipherXMLCipher.getProviderInstance(String transformation, String provider) Returns anXMLCipherthat implements the specified transformation and operates on the specified context document.static XMLCipherXMLCipher.getProviderInstance(String transformation, String provider, String canon) Returns anXMLCipherthat 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 XMLCipherXMLCipher.getProviderInstance(String transformation, String provider, String canon, String digestMethod) Returns anXMLCipherthat implements the specified transformation, operates on the specified context document and serializes the document with the specified canonicalization algorithm before it encrypts the document.voidInitializes this cipher with a key.XMLCipher.loadEncryptedData(Document context, Element element) Returns anEncryptedDatainterface.XMLCipher.loadEncryptedKey(Document context, Element element) Returns anEncryptedKeyinterface.XMLCipher.loadEncryptedKey(Element element) Returns anEncryptedKeyinterface.(package private) CipherDataXMLCipher.Factory.newCipherData(Element element) (package private) CipherReferenceXMLCipher.Factory.newCipherReference(Element element) (package private) EncryptedDataXMLCipher.Factory.newEncryptedData(Element element) (package private) EncryptedKeyXMLCipher.Factory.newEncryptedKey(Element element) (package private) KeyInfoXMLCipher.Factory.newKeyInfo(Element element) voidCipherData.setCipherReference(CipherReference reference) Sets theCipherData's reference.voidXMLCipher.Factory.CipherDataImpl.setCipherReference(CipherReference reference) Sets theCipherData's reference.voidCipherData.setCipherValue(CipherValue value) Sets theCipherData's value.voidXMLCipher.Factory.CipherDataImpl.setCipherValue(CipherValue value) Sets theCipherData's value.Constructors in org.apache.xml.security.encryption that throw XMLEncryptionExceptionModifierConstructorDescriptionprivateCreates 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 TypeMethodDescriptionvoidKeyInfo.add(EncryptedKey encryptedKey) Method addEncryptedKey