Class SignerAssertionInformation.SignerAssertionInformationBuilder
java.lang.Object
se.idsec.signservice.integration.authentication.SignerAssertionInformation.SignerAssertionInformationBuilder
- All Implemented Interfaces:
ObjectBuilder<SignerAssertionInformation>
- Enclosing class:
- SignerAssertionInformation
public static class SignerAssertionInformation.SignerAssertionInformationBuilder
extends Object
implements ObjectBuilder<SignerAssertionInformation>
Builder for
SignerAssertionInformation
objects.-
Method Summary
Modifier and TypeMethodDescriptionThe assertion issued for the user's "authentication for signature" operation (in Base64 encoded format).assertionReference
(String assertionReference) Contains the unique ID of the assertion issued for the user's "authentication for signature" operation.authnContextRef
(String authnContextRef) The authentication context reference identifier (an URI) that identifies the context under which the signer was authenticated.authnInstant
(long authnInstant) The time (in millis since epoch) when the SignService authenticated the signer.authnServiceID
(String authnServiceID) The entityID of the authentication service (Identity Provider) that will authenticated the signer as part of the signature process.An optional identifier of the type of authentication that was used for the "authentication for signature" operation, e.g.build()
Builds the object.Extensions for the object.signerAttribute
(SignerIdentityAttributeValue signerAttribute) signerAttributes
(Collection<? extends SignerIdentityAttributeValue> signerAttributes) toString()
-
Method Details
-
signerAttribute
public SignerAssertionInformation.SignerAssertionInformationBuilder signerAttribute(SignerIdentityAttributeValue signerAttribute) -
signerAttributes
public SignerAssertionInformation.SignerAssertionInformationBuilder signerAttributes(Collection<? extends SignerIdentityAttributeValue> signerAttributes) -
clearSignerAttributes
-
authnInstant
The time (in millis since epoch) when the SignService authenticated the signer.- Returns:
this
.
-
authnServiceID
public SignerAssertionInformation.SignerAssertionInformationBuilder authnServiceID(String authnServiceID) The entityID of the authentication service (Identity Provider) that will authenticated the signer as part of the signature process.- Returns:
this
.
-
authnContextRef
public SignerAssertionInformation.SignerAssertionInformationBuilder authnContextRef(String authnContextRef) The authentication context reference identifier (an URI) that identifies the context under which the signer was authenticated.- Returns:
this
.
-
authnType
An optional identifier of the type of authentication that was used for the "authentication for signature" operation, e.g. "saml".- Returns:
this
.
-
assertionReference
public SignerAssertionInformation.SignerAssertionInformationBuilder assertionReference(String assertionReference) Contains the unique ID of the assertion issued for the user's "authentication for signature" operation.- Returns:
this
.
-
assertion
The assertion issued for the user's "authentication for signature" operation (in Base64 encoded format).- Returns:
this
.
-
extension
Extensions for the object.- Returns:
this
.
-
build
Description copied from interface:ObjectBuilder
Builds the object.- Specified by:
build
in interfaceObjectBuilder<SignerAssertionInformation>
- Returns:
- the object
-
toString
-