java.lang.Object | |
↳ | org.bouncycastle.x509.X509V3CertificateGenerator |
This class is deprecated.
use org.bouncycastle.cert.X509v3CertificateBuilder.
class to produce an X.509 Version 3 certificate.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
add a given extension field for the standard extensions tag (tag 3)
The value parameter becomes the contents of the octet string associated
with the extension.
| |||||||||||
add a given extension field for the standard extensions tag (tag 3)
| |||||||||||
add a given extension field for the standard extensions tag (tag 3)
| |||||||||||
add a given extension field for the standard extensions tag (tag 3)
| |||||||||||
add a given extension field for the standard extensions tag (tag 3)
copying the extension value from another certificate.
| |||||||||||
add a given extension field for the standard extensions tag (tag 3)
copying the extension value from another certificate.
| |||||||||||
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing.
| |||||||||||
generate an X509 certificate, based on the current issuer and subject,
using the passed in provider for the signing and the supplied source
of randomness, if required.
| |||||||||||
generate an X509 certificate, based on the current issuer and subject
using the default provider.
| |||||||||||
generate an X509 certificate, based on the current issuer and subject
using the default provider, and the passed in source of randomness
(if required).
| |||||||||||
This method is deprecated.
use generate(key, "BC")
| |||||||||||
This method is deprecated.
use generate()
| |||||||||||
This method is deprecated.
use generate(key, random, "BC")
| |||||||||||
This method is deprecated.
use generate()
| |||||||||||
Return an iterator of the signature names supported by the generator.
| |||||||||||
reset the generator
| |||||||||||
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the
certificate.
| |||||||||||
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the
certificate.
| |||||||||||
Set the issuer unique ID - note: it is very rare that it is correct to do this.
| |||||||||||
set the serial number for the certificate.
| |||||||||||
Set the signature algorithm.
| |||||||||||
Set the subject distinguished name.
| |||||||||||
Set the subject distinguished name.
| |||||||||||
Set the subject unique ID - note: it is very rare that it is correct to do this.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
add a given extension field for the standard extensions tag (tag 3) The value parameter becomes the contents of the octet string associated with the extension.
add a given extension field for the standard extensions tag (tag 3)
add a given extension field for the standard extensions tag (tag 3)
add a given extension field for the standard extensions tag (tag 3)
add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
CertificateParsingException | if the extension cannot be extracted. |
---|
add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
CertificateParsingException | if the extension cannot be extracted. |
---|
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.
generate an X509 certificate, based on the current issuer and subject using the default provider.
Note: this differs from the deprecated method in that the default provider is used - not "BC".
generate an X509 certificate, based on the current issuer and subject using the default provider, and the passed in source of randomness (if required).
Note: this differs from the deprecated method in that the default provider is used - not "BC".
This method is deprecated.
use generate(key, "BC")
generate an X509 certificate, based on the current issuer and subject using the default provider "BC".
This method is deprecated.
use generate()
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing and the supplied source of randomness, if required.
This method is deprecated.
use generate(key, random, "BC")
generate an X509 certificate, based on the current issuer and subject using the default provider "BC", and the passed in source of randomness (if required).
This method is deprecated.
use generate()
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.
Return an iterator of the signature names supported by the generator.
reset the generator
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate.
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate.
Set the issuer unique ID - note: it is very rare that it is correct to do this.
Set the signature algorithm. This can be either a name or an OID, names are treated as case insensitive.
signatureAlgorithm | string representation of the algorithm name. |
---|
Set the subject distinguished name. The subject describes the entity associated with the public key.
Set the subject distinguished name. The subject describes the entity associated with the public key.
Set the subject unique ID - note: it is very rare that it is correct to do this.