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 theProofTokenStatex509Certificate(X509Certificate certificate) Adds anX509Certificateto the builder.
-
Method Details
-
x509Certificate
Adds anX509Certificateto 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.
-