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 ofKeyAgreementEncryptionConfigurationthat can hold configuration specific to the user of SAML metadata.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrapOptions for whether to use symmetric key wrap with credentials from SAML metadata.
-
Field Summary
Fields Modifier and Type Field Description private SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrapmetadataUseKeyWrapOption which determines whether symmetric key wrap is to be used with metadata credentials.
-
Constructor Summary
Constructors Constructor Description SAMLMetadataKeyAgreementEncryptionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrapgetMetadataUseKeyWrap()Get the option which determines whether symmetric key wrap is to be used with metadata credentials.voidsetMetadataUseKeyWrap(SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap option)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 Detail
-
metadataUseKeyWrap
private SAMLMetadataKeyAgreementEncryptionConfiguration.KeyWrap metadataUseKeyWrap
Option which determines whether symmetric key wrap is to be used with metadata credentials.
-
-
Method Detail
-
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
-
-