Uses of Class
org.apache.xml.security.encryption.XMLEncryptionException
Packages that use XMLEncryptionException
Package
Description
-
Uses of XMLEncryptionException in org.apache.xml.security.encryption
Methods in org.apache.xml.security.encryption that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionstatic KeyDerivationParametersXMLCipherUtil.constructKeyDerivationParameter(KeyDerivationMethod keyDerivationMethod, int keyBitLength) Construct a KeyDerivationParameter object from the given keyDerivationMethod data and keyBitLength.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.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.DocumentSerializer.deserialize(byte[] source, Node ctx) Serializer.deserialize(byte[] source, Node ctx) TransformSerializer.deserialize(byte[] 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 structureXMLCipher.encryptKey(Document doc, Key key, AlgorithmParameterSpec params, SecureRandom random) byte[]XMLCipherInput.getBytes()Dereferences the input and returns it as a single byte array.static 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.getInstance(Serializer serializer, String transformation) Returns anXMLCipherthat implements the specified transformation, operates on the specified context document and serializes the document with the specified serializer 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.static XMLCipherXMLCipher.getProviderInstance(Serializer serializer, String transformation, String provider, String digestMethod) Returns anXMLCipherthat implements the specified transformation, operates on the specified context document and serializes the document with the specified Serializer 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.voidCipherData.setCipherReference(CipherReference reference) Sets theCipherData's reference.voidCipherData.setCipherValue(CipherValue value) Sets theCipherData's value.voidXMLCipher.validateAndUpdateKeyAgreementParameterKeys(KeyAgreementParameters keyAgreementParameter) Method validates and updates if needed the KeyAgreementParameterSpec with the required keys.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.encryption.keys.content
Constructors in org.apache.xml.security.encryption.keys.content that throw XMLEncryptionExceptionModifierConstructorDescriptionAgreementMethodImpl(Document doc, KeyAgreementParameters keyAgreementParameter) Constructor AgreementMethodImpl for generating AgreementMethod from scratch based onKeyAgreementParameters. -
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 -
Uses of XMLEncryptionException in org.apache.xml.security.utils
Methods in org.apache.xml.security.utils that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionstatic SecretKeyKeyUtils.aesWrapKeyWithDHGeneratedKey(KeyAgreementParameters parameterSpec) Method generates a secret key for given KeyAgreementParameterSpec.static KeyPairKeyUtils.generateEphemeralDHKeyPair(PublicKey recipientPublicKey, Provider provider) Method generates DH keypair which match the type of given public key type.static intKeyUtils.getAESKeyBitSizeForWrapAlgorithm(String keyWrapAlg) Defines the key size for the encrypting algorithm.