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

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

Introduction

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

The text is from its open source code.

Constructor

Method

voidaddExtension(String oid, boolean critical, ASN1Encodable value)
add a given extension field for the standard extensions tag (tag 3)
voidaddExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value)
add a given extension field for the standard extensions tag (tag 3)
voidaddExtension(String oid, boolean critical, byte[] value)
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.
voidaddExtension(ASN1ObjectIdentifier oid, boolean critical, byte[] value)
add a given extension field for the standard extensions tag (tag 3)
voidcopyAndAddExtension(String oid, boolean critical, X509Certificate cert)
add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
voidcopyAndAddExtension(ASN1ObjectIdentifier oid, boolean critical, X509Certificate cert)
add a given extension field for the standard extensions tag (tag 3) copying the extension value from another certificate.
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 (if required).
X509Certificategenerate(PrivateKey key, String provider)
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.
X509Certificategenerate(PrivateKey key)
generate an X509 certificate, based on the current issuer and subject using the default provider.
X509Certificategenerate(PrivateKey key, String provider, SecureRandom random)
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.
X509CertificategenerateX509Certificate(PrivateKey key)
generate an X509 certificate, based on the current issuer and subject using the default provider "BC".
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 (if required).
X509CertificategenerateX509Certificate(PrivateKey key, String provider)
generate an X509 certificate, based on the current issuer and subject, using the passed in provider for the signing.
X509CertificategenerateX509Certificate(PrivateKey key, String provider, SecureRandom random)
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.
IteratorgetSignatureAlgNames()
Return an iterator of the signature names supported by the generator.
voidreset()
reset the generator
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.