Class SAMLMetadataKeyAgreementEncryptionConfiguration

java.lang.Object
org.opensaml.xmlsec.encryption.support.KeyAgreementEncryptionConfiguration
org.opensaml.saml.security.SAMLMetadataKeyAgreementEncryptionConfiguration

public class SAMLMetadataKeyAgreementEncryptionConfiguration extends KeyAgreementEncryptionConfiguration
A specialization of KeyAgreementEncryptionConfiguration that can hold configuration specific to the user of SAML metadata.
  • Field Details

  • Constructor Details

    • SAMLMetadataKeyAgreementEncryptionConfiguration

      public SAMLMetadataKeyAgreementEncryptionConfiguration()
  • Method Details

    • getMetadataUseKeyWrap

      @Nullable public SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap getMetadataUseKeyWrap()
      Get the option which determines whether symmetric key wrap is to be used with metadata credentials.
      Returns:
      the configured optiona value, or null if not explicitly configured
    • setMetadataUseKeyWrap

      public void setMetadataUseKeyWrap(@Nullable SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap option)
      Set the option which determines whether symmetric key wrap is to be used with metadata credentials.
      Parameters:
      option - the new option value