Class X509CertificateCallback.Builder
java.lang.Object
com.sun.identity.authentication.spi.X509CertificateCallback.Builder
- Enclosing class:
- X509CertificateCallback
Builder for the
X509CertificateCallback
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the X509CertificateCallback object.withCertificate
(X509Certificate certificate) Set the certificate for the new X509CertificateCallback Object.withPrompt
(String prompt) Set the prompt for the new X509CertificateCallback Object.withReqSignature
(boolean reqSignature) Set the required signature flag for the new X509CertificateCallback Object.
-
Method Details
-
withPrompt
Set the prompt for the new X509CertificateCallback Object.- Parameters:
prompt
- the prompt to use- Returns:
- this builder
-
withCertificate
Set the certificate for the new X509CertificateCallback Object.- Parameters:
certificate
- the certificate to use- Returns:
- this builder
-
withReqSignature
Set the required signature flag for the new X509CertificateCallback Object.- Parameters:
reqSignature
- the required signature flag- Returns:
- this builder
-
build
Builds the X509CertificateCallback object.- Returns:
- the newly created X509CertificateCallback object
-