Class ProofTokenState.ProofTokenStateBuilder
- java.lang.Object
-
- org.forgerock.openam.sts.user.invocation.ProofTokenState.ProofTokenStateBuilder
-
- Enclosing class:
- ProofTokenState
public static class ProofTokenState.ProofTokenStateBuilder extends Object
Builder class forProofTokenState
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProofTokenState
build()
Builds theProofTokenState
ProofTokenState.ProofTokenStateBuilder
x509Certificate(X509Certificate certificate)
Adds anX509Certificate
to the builder.
-
-
-
Method Detail
-
x509Certificate
public ProofTokenState.ProofTokenStateBuilder x509Certificate(X509Certificate certificate)
Adds anX509Certificate
to the builder.- Parameters:
certificate
- the certificate to add.- Returns:
- the builder encapsulating the specified
X509Certificate
-
build
public ProofTokenState build() throws org.forgerock.openam.sts.TokenMarshalException
Builds theProofTokenState
- Returns:
- the
ProofTokenState
- Throws:
org.forgerock.openam.sts.TokenMarshalException
- If there is a problem building theProofTokenState
.
-
-