Class IdaDecrypter


  • public class IdaDecrypter
    extends org.opensaml.saml.saml2.encryption.Decrypter
    Class which implements SAML2-specific options for EncryptedElementType objects.

    For information on other parameters and options, and general XML Encryption issues, see Decrypter.

    • Constructor Summary

      Constructors 
      Constructor Description
      IdaDecrypter​(org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver newResolver, org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver newKEKResolver, org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver newEncKeyResolver)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.opensaml.saml.saml2.core.Assertion decrypt​(org.opensaml.saml.saml2.core.EncryptedAssertion encryptedAssertion)
      Decrypt the specified EncryptedAssertion.
      • Methods inherited from class org.opensaml.saml.saml2.encryption.Decrypter

        decrypt, decrypt, decrypt
      • Methods inherited from class org.opensaml.xmlsec.encryption.support.Decrypter

        buildParserPool, checkAndMarshall, decryptData, decryptData, decryptDataToDOM, decryptDataToDOM, decryptDataToList, decryptDataToList, decryptKey, decryptKey, getJCAProviderName, getKEKResolverCriteria, getKeyResolverCriteria, isRootInNewDocument, preProcessEncryptedKey, setJCAProviderName, setKEKResolverCriteria, setKeyResolverCriteria, setRootInNewDocument, validateAlgorithms, validateAlgorithms, validateAlgorithmURI
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdaDecrypter

        public IdaDecrypter​(org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver newResolver,
                            org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver newKEKResolver,
                            org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver newEncKeyResolver)
        Constructor.
        Parameters:
        newResolver - resolver for data encryption keys.
        newKEKResolver - resolver for key encryption keys.
        newEncKeyResolver - resolver for EncryptedKey elements
    • Method Detail

      • decrypt

        public org.opensaml.saml.saml2.core.Assertion decrypt​(org.opensaml.saml.saml2.core.EncryptedAssertion encryptedAssertion)
                                                       throws org.opensaml.xmlsec.encryption.support.DecryptionException
        Decrypt the specified EncryptedAssertion.
        Overrides:
        decrypt in class org.opensaml.saml.saml2.encryption.Decrypter
        Parameters:
        encryptedAssertion - the EncryptedAssertion to decrypt
        Returns:
        an Assertion
        Throws:
        org.opensaml.xmlsec.encryption.support.DecryptionException - thrown when decryption generates an error