Uses of Class
org.opensaml.xmlsec.encryption.support.EncryptionException
Packages that use EncryptionException
Package
Description
Classes for encrypting and decrypting SAML.
Implementations of SAML 2.0 profile behavior.
Functional support for XML Encryption.
-
Uses of EncryptionException in org.opensaml.saml.saml2.encryption
Methods in org.opensaml.saml.saml2.encryption that throw EncryptionExceptionModifier and TypeMethodDescriptionprivate EncryptedElementTypeEncrypt the specified XMLObject, and return it as an instance of the specified QName, which should be one of the types derived fromEncryptedElementType.Encrypt the specified Assertion.Encrypt the specified Attribute.Encrypt the specified BaseID.Encrypt the specified NameID.Encrypt the specified NewID.Encrypter.encryptAsID(Assertion assertion) Encrypt the specified Assertion, treating as an identifier and returning an EncryptedID.protected EncryptedElementTypeEncrypter.processElements(EncryptedElementType encElement, EncryptedData encData, List<EncryptedKey> encKeys) Handle post-processing of generated EncryptedData and EncryptedKey(s) and storage in the appropriate EncryptedElementType instance. -
Uses of EncryptionException in org.opensaml.saml.saml2.profile.impl
Methods in org.opensaml.saml.saml2.profile.impl that throw EncryptionExceptionModifier and TypeMethodDescriptionprivate voidEncryptNameIDs.processAssertion(Assertion assertion) Decrypt anyEncryptedIDfound in an assertion and replace it with the result.private voidEncryptNameIDs.processLogoutRequest(LogoutRequest request) Encrypt aNameIDfound in a LogoutRequest and replace it with the result.private voidEncryptNameIDs.processManageNameIDRequest(ManageNameIDRequest request) Encrypt aNameIDfound in a ManageNameIDRequest and replace it with the result.private voidEncryptNameIDs.processNameIDMappingRequest(NameIDMappingRequest request) Encrypt aNameIDfound in a NameIDMappingRequest and replace it with the result.private voidEncryptNameIDs.processNameIDMappingResponse(NameIDMappingResponse response) Encrypt aNameIDfound in a NameIDMappingResponse and replace it with the result.private voidEncryptNameIDs.processSubject(Subject subject) Encrypt anyNameIDs found in a subject and replace them with the result. -
Uses of EncryptionException in org.opensaml.xmlsec.encryption.support
Methods in org.opensaml.xmlsec.encryption.support that throw EncryptionExceptionModifier and TypeMethodDescriptionprotected voidEncrypter.checkAndMarshall(XMLObject xmlObject) Ensure that the XMLObject is marshalled.protected voidEncrypter.checkParams(List<KeyEncryptionParameters> kekParamsList, boolean allowEmpty) Check a list of key encryption parameters for consistency and required values.protected voidEncrypter.checkParams(DataEncryptionParameters encParams) Check data encryption parameters for consistency and required values.protected voidEncrypter.checkParams(DataEncryptionParameters encParams, List<KeyEncryptionParameters> kekParamsList) Check the encryption parameters and key encryption parameters for valid combinations of options.protected voidEncrypter.checkParams(KeyEncryptionParameters kekParams, boolean allowEmpty) Check key encryption parameters for consistency and required values.protected byte[]Encrypter.decodeOAEPParams(String base64Params) Safely decode and normalize base64-encoded OAEPParams data.protected EncryptedDataEncrypter.encryptElement(XMLObject xmlObject, Key encryptionKey, String encryptionAlgorithmURI, boolean encryptContentMode) Encrypts the given XMLObject using the specified encryption key, algorithm URI and content mode flag.Encrypter.encryptElement(XMLObject xmlObject, DataEncryptionParameters encParams) Encrypts the DOM representation of the XMLObject.Encrypter.encryptElement(XMLObject xmlObject, DataEncryptionParameters encParams, List<KeyEncryptionParameters> kekParamsList) Encrypts the DOM representation of the XMLObject, encrypts the encryption key using the specified key encryption parameters and places the resulting EncryptedKey(s) within the EncryptedData's KeyInfo.private EncryptedDataEncrypter.encryptElement(XMLObject xmlObject, DataEncryptionParameters encParams, List<KeyEncryptionParameters> kekParamsList, boolean encryptContentMode) Encrypts the given XMLObject using the specified encryption key, algorithm URI and content mode flag.Encrypter.encryptElement(XMLObject xmlObject, DataEncryptionParameters encParams, KeyEncryptionParameters kekParams) Encrypts the DOM representation of the XMLObject, encrypts the encryption key using the specified key encryption parameters and places the resulting EncryptedKey within the EncryptedData's KeyInfo.Encrypter.encryptElementContent(XMLObject xmlObject, DataEncryptionParameters encParams) Encrypts the DOM representation of the content of an XMLObject.Encrypter.encryptElementContent(XMLObject xmlObject, DataEncryptionParameters encParams, List<KeyEncryptionParameters> kekParamsList) Encrypts the DOM representation of the content of an XMLObject, encrypts the encryption key using the specified key encryption parameters and places the resulting EncryptedKey(s) within the EncryptedData's KeyInfo..Encrypter.encryptElementContent(XMLObject xmlObject, DataEncryptionParameters encParams, KeyEncryptionParameters kekParams) Encrypts the DOM representation of the content of an XMLObject, encrypts the encryption key using the specified key encryption parameters and places the resulting EncryptedKey within the EncryptedData's KeyInfo..protected EncryptedKeyEncrypter.encryptKey(Key targetKey, Key encryptionKey, String encryptionAlgorithmURI, RSAOAEPParameters rsaOAEPParams, Document containingDocument) Encrypts a key using the specified encryption key and algorithm URI.Encrypter.encryptKey(Key key, List<KeyEncryptionParameters> kekParamsList, Document containingDocument) Encrypts a key once for each key encryption parameters set that is supplied.Encrypter.encryptKey(Key key, KeyEncryptionParameters kekParams, Document containingDocument) Encrypts a key.protected SecretKeyEncrypter.generateEncryptionKey(String encryptionAlgorithmURI) Generate a random symmetric encryption key.protected voidEncrypter.postProcessApacheEncryptedKey(org.apache.xml.security.encryption.EncryptedKey apacheEncryptedKey, Key targetKey, Key encryptionKey, String encryptionAlgorithmURI, Document containingDocument) Post-process the Apache EncryptedKey, prior to marshalling to DOM and unmarshalling into an XMLObject.