Class ProofTokenState.ProofTokenStateBuilder

  • Enclosing class:
    ProofTokenState

    public static class ProofTokenState.ProofTokenStateBuilder
    extends Object
    Builder class for ProofTokenState
    • Method Detail

      • x509Certificate

        public ProofTokenState.ProofTokenStateBuilder x509Certificate​(X509Certificate certificate)
        Adds an X509Certificate 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 the ProofTokenState
        Returns:
        the ProofTokenState
        Throws:
        org.forgerock.openam.sts.TokenMarshalException - If there is a problem building the ProofTokenState.