Class KeyAgreementEncryptionConfiguration
java.lang.Object
org.opensaml.xmlsec.encryption.support.KeyAgreementEncryptionConfiguration
- Direct Known Subclasses:
SAMLMetadataKeyAgreementEncryptionConfiguration
A component representing the specific configuration for a key agreement encryption operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe key agreement algorithm URI.private Collection<KeyAgreementParameter>The collection ofKeyAgreementParameter. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the algorithm URI.Get the collection ofKeyAgreementParameter.voidsetAlgorithm(String uri) Set the algorithm URI.voidsetParameters(Collection<KeyAgreementParameter> params) Set the collection ofKeyAgreementParameter.
-
Field Details
-
algorithm
The key agreement algorithm URI. -
parameters
The collection ofKeyAgreementParameter.
-
-
Constructor Details
-
KeyAgreementEncryptionConfiguration
public KeyAgreementEncryptionConfiguration()
-
-
Method Details
-
getAlgorithm
Get the algorithm URI.- Returns:
- the algorithm URI
-
setAlgorithm
Set the algorithm URI.- Parameters:
uri- the algorithm URI
-
getParameters
Get the collection ofKeyAgreementParameter.Note that null is a very significant return value here as the calling code will skip nulls but pick the first non-null result, so an empty collection will circumvent key agreement. This does not imply nullable elements.
- Returns:
- the collection of parameters or null if none exist
-
setParameters
Set the collection ofKeyAgreementParameter.- Parameters:
params- the collection of parameters
-