Class BasicDecryptionConfiguration

  • All Implemented Interfaces:
    org.opensaml.xmlsec.DecryptionConfiguration, org.opensaml.xmlsec.WhitelistBlacklistConfiguration

    public class BasicDecryptionConfiguration
    extends BasicWhitelistBlacklistConfiguration
    implements org.opensaml.xmlsec.DecryptionConfiguration
    Basic implementation of DecryptionConfiguration.
    • Field Detail

      • dataKeyInfoCredentialResolver

        @Nullable
        private org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver dataKeyInfoCredentialResolver
        The EncryptedData's KeyInfo credential resolver.
      • kekKeyInfoCredentialResolver

        @Nullable
        private org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver kekKeyInfoCredentialResolver
        The EncryptedKey's KeyInfo credential resolver.
      • encryptedKeyResolver

        @Nullable
        private org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver encryptedKeyResolver
        The EncryptedKey resolver.
    • Constructor Detail

      • BasicDecryptionConfiguration

        public BasicDecryptionConfiguration()
        Constructor.
    • Method Detail

      • getDataKeyInfoCredentialResolver

        @Nullable
        public org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver getDataKeyInfoCredentialResolver()
        Get the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.
        Specified by:
        getDataKeyInfoCredentialResolver in interface org.opensaml.xmlsec.DecryptionConfiguration
        Returns:
        the KeyInfoCredentialResolver instance
      • setDataKeyInfoCredentialResolver

        public void setDataKeyInfoCredentialResolver​(@Nullable
                                                     org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver resolver)
        Set the KeyInfoCredentialResolver to use when processing the EncryptedData/KeyInfo.
        Parameters:
        resolver - the KeyInfoCredentialResolver instance
      • getKEKKeyInfoCredentialResolver

        @Nullable
        public org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver getKEKKeyInfoCredentialResolver()
        Get the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).
        Specified by:
        getKEKKeyInfoCredentialResolver in interface org.opensaml.xmlsec.DecryptionConfiguration
        Returns:
        the KeyInfoCredentialResolver instance
      • setKEKKeyInfoCredentialResolver

        public void setKEKKeyInfoCredentialResolver​(@Nullable
                                                    org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver resolver)
        Set the KeyInfoCredentialResolver to use when processing the EncryptedKey/KeyInfo (the Key Encryption Key or KEK).
        Parameters:
        resolver - the KeyInfoCredentialResolver instance
      • getEncryptedKeyResolver

        @Nullable
        public org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver getEncryptedKeyResolver()
        Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.
        Specified by:
        getEncryptedKeyResolver in interface org.opensaml.xmlsec.DecryptionConfiguration
        Returns:
        the EncryptedKeyResolver instance
      • setEncryptedKeyResolver

        public void setEncryptedKeyResolver​(@Nullable
                                            org.opensaml.xmlsec.encryption.support.EncryptedKeyResolver resolver)
        Get the EncryptedKeyResolver to use when resolving the EncryptedKey(s) to process.
        Parameters:
        resolver - the EncryptedKeyResolver instance