Package org.opensaml.saml.security
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Options for whether to use symmetric key wrap with credentials from SAML metadata. -
Field Summary
FieldsModifier and TypeFieldDescriptionOption which determines whether symmetric key wrap is to be used with metadata credentials. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the option which determines whether symmetric key wrap is to be used with metadata credentials.void
Set the option which determines whether symmetric key wrap is to be used with metadata credentials.Methods inherited from class org.opensaml.xmlsec.encryption.support.KeyAgreementEncryptionConfiguration
getAlgorithm, getParameters, setAlgorithm, setParameters
-
Field Details
-
metadataUseKeyWrap
Option which determines whether symmetric key wrap is to be used with metadata credentials.
-
-
Constructor Details
-
SAMLMetadataKeyAgreementEncryptionConfiguration
public SAMLMetadataKeyAgreementEncryptionConfiguration()
-
-
Method Details
-
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
-