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 TypeMethodDescriptionprivate CipherXMLCipher.constructCipher(String algorithm, String digestAlgorithm) Construct a Cipher objectprivate CipherXMLCipher.constructCipher(String algorithm, String digestAlgorithm, Exception nsae) static 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.private static SerializerXMLCipher.createSerializer(boolean secureValidation) private static SerializerXMLCipher.createSerializer(String canonAlg, boolean secureValidation) 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.DocumentSerializer.deserialize(byte[] source, Node ctx) private NodeDocumentSerializer.deserialize(Node ctx, InputStream inputStream) Serializer.deserialize(byte[] source, Node ctx) TransformSerializer.deserialize(byte[] 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 structureXMLCipher.encryptKey(Document doc, Key key, AlgorithmParameterSpec params, SecureRandom random) byte[]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.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.(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.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 XMLEncryptionExceptionModifierConstructorDescriptionprivateXMLCipher(String transformation, String provider, String digestMethod, Serializer serializer) 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.encryption.keys.content
Methods in org.apache.xml.security.encryption.keys.content that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionprivate KeyDerivationMethodAgreementMethodImpl.createKeyDerivationMethod(KeyAgreementParameters keyAgreementParameter) Method creates aKeyDerivationMethodelement based on parameters:KeyAgreementParameters.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.encryption.keys.content.derivedKey
Methods in org.apache.xml.security.encryption.keys.content.derivedKey that throw XMLEncryptionExceptionModifier and TypeMethodDescriptionprivate static byte[]ConcatKDF.concatParameters(String... parameters) Simple method to concatenate non-padded bitstream ConcatKDF parameters.private static byte[]ConcatKDF.parseBitString(String kdfParameter) The method validates the bitstring parameter structure and returns byte array of the parameter. -
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.