Class DigestMethodBuilder
java.lang.Object
se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder<DigestMethod>
se.swedenconnect.opensaml.saml2.metadata.build.DigestMethodBuilder
- All Implemented Interfaces:
SAMLObjectBuilder<DigestMethod>
A builder for
alg:DigestMethod elements.- Author:
- Martin Lindström (martin@idsec.se)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAssigns the algorithm.static DigestMethodBuilderbuilder()Creates a newDigestMethodBuilderinstance.static DigestMethoddigestMethod(String algorithm) Utility method that creates aDigestMethod.protected Class<DigestMethod> Returns the object type.Methods inherited from class se.swedenconnect.opensaml.common.builder.AbstractSAMLObjectBuilder
build, getDefaultElementName, object
-
Constructor Details
-
DigestMethodBuilder
public DigestMethodBuilder()
-
-
Method Details
-
builder
Creates a newDigestMethodBuilderinstance.- Returns:
- a SigningMethodBuilder instance
-
digestMethod
Utility method that creates aDigestMethod.- Parameters:
algorithm- the algorithm- Returns:
- a DigestMethod instance
-
getObjectType
Returns the object type.- Specified by:
getObjectTypein classAbstractSAMLObjectBuilder<DigestMethod>- Returns:
- the object type
-
algorithm
Assigns the algorithm.- Parameters:
algorithm- the algorithm- Returns:
- the builder
-