Class ProofTokenState.ProofTokenStateBuilder
java.lang.Object
org.forgerock.openam.sts.user.invocation.ProofTokenState.ProofTokenStateBuilder
- Enclosing class:
- ProofTokenState
Builder class for
ProofTokenState
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theProofTokenState
x509Certificate
(X509Certificate certificate) Adds anX509Certificate
to the builder.
-
Method Details
-
x509Certificate
Adds anX509Certificate
to the builder.- Parameters:
certificate
- the certificate to add.- Returns:
- the builder encapsulating the specified
X509Certificate
-
build
Builds theProofTokenState
- Returns:
- the
ProofTokenState
- Throws:
org.forgerock.openam.sts.TokenMarshalException
- If there is a problem building theProofTokenState
.
-