Example usage for Java org.bouncycastle.x509 X509V1CertificateGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
X509Certificate | generate(PrivateKey key, SecureRandom random) generate an X509 certificate, based on the current issuer and subject using the default provider and the passed in source of randomness Note: this differs from the deprecated method in that the default provider is used - not "BC". |
X509Certificate | generate(PrivateKey key, String provider) generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required). |
X509Certificate | generate(PrivateKey key) generate an X509 certificate, based on the current issuer and subject using the default provider. |
X509Certificate | generateX509Certificate(PrivateKey key, SecureRandom random) generate an X509 certificate, based on the current issuer and subject using the default provider "BC" and the passed in source of randomness |
X509Certificate | generateX509Certificate(PrivateKey key, String provider) generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing, and the passed in source of randomness (if required). |
X509Certificate | generateX509Certificate(PrivateKey key) generate an X509 certificate, based on the current issuer and subject using the default provider "BC". |
void | setIssuerDN(X500Principal issuer) Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate. |
void | setIssuerDN(X509Name issuer) Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate. |
void | setNotAfter(Date date) |
void | setNotBefore(Date date) |
void | setPublicKey(PublicKey key) |
void | setSerialNumber(BigInteger serialNumber) set the serial number for the certificate. |
void | setSignatureAlgorithm(String signatureAlgorithm) Set the signature algorithm. |
void | setSubjectDN(X500Principal subject) Set the subject distinguished name. |
void | setSubjectDN(X509Name subject) Set the subject distinguished name. |