java.lang.Object | |
↳ | org.bouncycastle.cert.X509v3CertificateBuilder |
Known Direct Subclasses |
class to produce an X.509 Version 3 certificate.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a builder for a version 3 certificate.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a given extension field for the standard extensions tag (tag 3)
| |||||||||||
Generate an X.509 certificate, based on the current issuer and subject
using the passed in signer.
| |||||||||||
Add a given extension field for the standard extensions tag (tag 3)
copying the extension value from another certificate.
| |||||||||||
Set the issuerUniqueID - note: it is very rare that it is correct to do this.
| |||||||||||
Set the subjectUniqueID - note: it is very rare that it is correct to do this.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a builder for a version 3 certificate.
issuer | the certificate issuer |
---|---|
serial | the certificate serial number |
notBefore | the date before which the certificate is not valid |
notAfter | the date after which the certificate is not valid |
subject | the certificate subject |
publicKeyInfo | the info structure for the public key to be associated with this certificate. |
Add a given extension field for the standard extensions tag (tag 3)
oid | the OID defining the extension type. |
---|---|
isCritical | true if the extension is critical, false otherwise. |
value | the ASN.1 structure that forms the extension's value. |
Generate an X.509 certificate, based on the current issuer and subject using the passed in signer.
signer | the content signer to be used to generate the signature validating the certificate. |
---|
Add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
oid | the OID defining the extension type. |
---|---|
isCritical | true if the copied extension is to be marked as critical, false otherwise. |
certHolder | the holder for the certificate that the extension is to be copied from. |
Set the issuerUniqueID - note: it is very rare that it is correct to do this.
uniqueID | a boolean array representing the bits making up the issuerUniqueID. |
---|
Set the subjectUniqueID - note: it is very rare that it is correct to do this.
uniqueID | a boolean array representing the bits making up the subjectUniqueID. |
---|