public class C509CertificationRequestBuilder
extends java.lang.Object
| Constructor and Description |
|---|
C509CertificationRequestBuilder(org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
C509CertificationRequestHolder |
build(ContentSigner signer)
Generate the certification request, signing the TBSCertificationRequest CBOR
sequence with the given signer.
|
C509CertificationRequestBuilder |
setChallengePassword(java.lang.String challengePassword)
Set a challenge password (the RFC 2985 challengePassword attribute).
|
C509CertificationRequestBuilder |
setConversionOptions(org.bouncycastle.cbor.c509.C509ConversionOptions options)
Set the conversion options - point compression in particular.
|
C509CertificationRequestBuilder |
setExtensionRequest(org.bouncycastle.asn1.x509.Extensions extensionRequest)
Set the extensions requested of the CA (the RFC 2985 extensionRequest
attribute).
|
C509CertificationRequestBuilder |
setPrivateKeyPossessionStatement(org.bouncycastle.cbor.c509.C509PrivateKeyPossessionStatement possessionStatement)
Set a private key possession statement (the RFC 9883
privateKeyPossessionStatement attribute, Section 4.3.3): the signature
certificate whose holder vouches for possession of the key-establishment
private key the request is for.
|
public C509CertificationRequestBuilder(org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKeyInfo)
subject - the X.500 name defining the certificate subject.subjectPublicKeyInfo - the info structure for the public key to be
associated with the request.public C509CertificationRequestBuilder setExtensionRequest(org.bouncycastle.asn1.x509.Extensions extensionRequest)
public C509CertificationRequestBuilder setChallengePassword(java.lang.String challengePassword)
public C509CertificationRequestBuilder setPrivateKeyPossessionStatement(org.bouncycastle.cbor.c509.C509PrivateKeyPossessionStatement possessionStatement)
public C509CertificationRequestBuilder setConversionOptions(org.bouncycastle.cbor.c509.C509ConversionOptions options)
public C509CertificationRequestHolder build(ContentSigner signer) throws CertIOException
CertIOException