java.lang.Object | ||
↳ | org.bouncycastle.cert.X509v3CertificateBuilder | |
↳ | org.bouncycastle.cert.jcajce.JcaX509v3CertificateBuilder |
JCA helper class to allow JCA objects to be used in the construction of a Version 3 certificate.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Initialise the builder using a PublicKey.
| |||||||||||
Initialise the builder using X500Principal objects and a PublicKey.
| |||||||||||
Initialise the builder using the subject from the passed in issuerCert as the issuer, as well as
passing through and converting the other objects provided.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a given extension field for the standard extensions tag (tag 3)
copying the extension value from another certificate.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.bouncycastle.cert.X509v3CertificateBuilder
| |||||||||||
From class
java.lang.Object
|
Initialise the builder using a PublicKey.
issuer | X500Name representing the issuer of this certificate. |
---|---|
serial | the serial number for the certificate. |
notBefore | date before which the certificate is not valid. |
notAfter | date after which the certificate is not valid. |
subject | X500Name representing the subject of this certificate. |
publicKey | the public key to be associated with the certificate. |
Initialise the builder using X500Principal objects and a PublicKey.
issuer | principal representing the issuer of this certificate. |
---|---|
serial | the serial number for the certificate. |
notBefore | date before which the certificate is not valid. |
notAfter | date after which the certificate is not valid. |
subject | principal representing the subject of this certificate. |
publicKey | the public key to be associated with the certificate. |
Initialise the builder using the subject from the passed in issuerCert as the issuer, as well as passing through and converting the other objects provided.
issuerCert | certificate who's subject is the issuer of the certificate we are building. |
---|---|
serial | the serial number for the certificate. |
notBefore | date before which the certificate is not valid. |
notAfter | date after which the certificate is not valid. |
subject | principal representing the subject of this certificate. |
publicKey | the public key to be associated with the certificate. |
Add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
oid | the type of the extension to be copied. |
---|---|
critical | true if the extension is to be marked critical, false otherwise. |
certificate | the source of the extension to be copied. |
CertificateEncodingException |
---|