public class DeltaCertificateRequestAttributeValueBuilder
extends java.lang.Object
DeltaCertificateRequestValue ::= SEQUENCE {
subject [0] EXPLICIT Name OPTIONAL,
subjectPKInfo SubjectPublicKeyInfo,
extensions [1] EXPLICIT Extensions OPTIONAL,
signatureAlgorithm [2] EXPLICIT AlgorithmIdentifier OPTIONAL
}
The builder emits every field the caller set; to encode only the fields that
differ from a base CSR (§5.1), pass the result through
DeltaCertAttributeUtils.trimDeltaCertificateRequest(org.bouncycastle.pkcs.DeltaCertificateRequestAttributeValue, org.bouncycastle.pkcs.PKCS10CertificationRequest).| Constructor and Description |
|---|
DeltaCertificateRequestAttributeValueBuilder(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKey)
Base constructor.
|
| Modifier and Type | Method and Description |
|---|---|
DeltaCertificateRequestAttributeValue |
build()
Build the configured
DeltaCertificateRequestAttributeValue. |
DeltaCertificateRequestAttributeValueBuilder |
setExtensions(org.bouncycastle.asn1.x509.Extensions extensions)
Set the extensions declared in the delta request.
|
DeltaCertificateRequestAttributeValueBuilder |
setSignatureAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
Set the signature algorithm declared in the delta request; when unset the delta request
reuses the base request's signature algorithm.
|
DeltaCertificateRequestAttributeValueBuilder |
setSubject(org.bouncycastle.asn1.x500.X500Name subject)
Set the subject declared in the delta request; when unset the delta request reuses the
base request's subject.
|
public DeltaCertificateRequestAttributeValueBuilder(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo subjectPublicKey)
subjectPublicKey - the alternate public key committed to by the delta request.public DeltaCertificateRequestAttributeValueBuilder setSignatureAlgorithm(org.bouncycastle.asn1.x509.AlgorithmIdentifier signatureAlgorithm)
signatureAlgorithm - the signature algorithm identifier.public DeltaCertificateRequestAttributeValueBuilder setSubject(org.bouncycastle.asn1.x500.X500Name subject)
subject - the subject distinguished name.public DeltaCertificateRequestAttributeValueBuilder setExtensions(org.bouncycastle.asn1.x509.Extensions extensions)
extensions - the extensions to attach to the delta request.public DeltaCertificateRequestAttributeValue build()
DeltaCertificateRequestAttributeValue.