Java org.bouncycastle.x509 X509V1CertificateGenerator fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.x509 X509V1CertificateGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.x509 X509V1CertificateGenerator.

The text is from its open source code.

Constructor

Method

X509Certificategenerate(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".

X509Certificategenerate(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).
X509Certificategenerate(PrivateKey key)
generate an X509 certificate, based on the current issuer and subject using the default provider.
X509CertificategenerateX509Certificate(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
X509CertificategenerateX509Certificate(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).
X509CertificategenerateX509Certificate(PrivateKey key)
generate an X509 certificate, based on the current issuer and subject using the default provider "BC".
voidsetIssuerDN(X500Principal issuer)
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate.
voidsetIssuerDN(X509Name issuer)
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate.
voidsetNotAfter(Date date)
voidsetNotBefore(Date date)
voidsetPublicKey(PublicKey key)
voidsetSerialNumber(BigInteger serialNumber)
set the serial number for the certificate.
voidsetSignatureAlgorithm(String signatureAlgorithm)
Set the signature algorithm.
voidsetSubjectDN(X500Principal subject)
Set the subject distinguished name.
voidsetSubjectDN(X509Name subject)
Set the subject distinguished name.