Class MetadataSettings.SigningMethodSettings
java.lang.Object
se.swedenconnect.spring.saml.idp.settings.AbstractSettings
se.swedenconnect.spring.saml.idp.settings.MetadataSettings.SigningMethodSettings
- All Implemented Interfaces:
Serializable
- Enclosing class:
MetadataSettings
Configuration for SigningMethod metadata elements.
- Author:
- Martin Lindström
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder forMetadataSettings.SigningMethodSettings.Nested classes/interfaces inherited from class AbstractSettings
AbstractSettings.AbstractBuilder<T,B> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifies the algorithm by means of the URL defined for its use with the XML Signature specification.static final StringThe largest key size, in bits, that the entity supports in conjunction with the algorithm.static final StringThe smallest key size, in bits, that the entity supports in conjunction with the algorithm. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSigningMethodSettings(Map<String, Object> settings) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Constructs a newMetadataSettings.SigningMethodSettings.Builderwith no settings.Gets the signing algorithm.Gets the largest key size, in bits, that the entity supports in conjunction with the algorithm.Gets the smallest key size, in bits, that the entity supports in conjunction with the algorithm.withSettings(Map<String, Object> settings) Constructs a newMetadataSettings.SigningMethodSettings.Builderwith the provided settings.Methods inherited from class AbstractSettings
equals, getSetting, getSettings, hashCode, toString
-
Field Details
-
ALGORITHM
-
MIN_KEYSIZE
-
MAX_KEYSIZE
-
-
Constructor Details
-
SigningMethodSettings
-
-
Method Details
-
getAlgorithm
-
getMinKeySize
Gets the smallest key size, in bits, that the entity supports in conjunction with the algorithm.- Returns:
- minimum key size
-
getMaxKeySize
Gets the largest key size, in bits, that the entity supports in conjunction with the algorithm.- Returns:
- maximum key size
-
builder
Constructs a newMetadataSettings.SigningMethodSettings.Builderwith no settings.- Returns:
- the
MetadataSettings.SigningMethodSettings.Builder
-
withSettings
public static MetadataSettings.SigningMethodSettings.Builder withSettings(Map<String, Object> settings) Constructs a newMetadataSettings.SigningMethodSettings.Builderwith the provided settings.- Parameters:
settings- the settings to initialize the builder- Returns:
- the builder
-