Package org.bouncycastle.cert.jcajce
Class JcaX509v1CertificateBuilder
java.lang.Object
org.bouncycastle.cert.X509v1CertificateBuilder
org.bouncycastle.cert.jcajce.JcaX509v1CertificateBuilder
JCA helper class to allow JCA objects to be used in the construction of a Version 1 certificate.
-
Constructor Summary
ConstructorDescriptionJcaX509v1CertificateBuilder
(X500Principal issuer, BigInteger serial, Date notBefore, Date notAfter, X500Principal subject, PublicKey publicKey) Initialise the builder using X500Principal objects and a PublicKey.JcaX509v1CertificateBuilder
(org.bouncycastle.asn1.x500.X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, org.bouncycastle.asn1.x500.X500Name subject, PublicKey publicKey) Initialise the builder using a PublicKey. -
Method Summary
Methods inherited from class org.bouncycastle.cert.X509v1CertificateBuilder
build
-
Constructor Details
-
JcaX509v1CertificateBuilder
public JcaX509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, org.bouncycastle.asn1.x500.X500Name subject, PublicKey publicKey) Initialise the builder using a PublicKey.- Parameters:
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.
-
JcaX509v1CertificateBuilder
public JcaX509v1CertificateBuilder(X500Principal issuer, BigInteger serial, Date notBefore, Date notAfter, X500Principal subject, PublicKey publicKey) Initialise the builder using X500Principal objects and a PublicKey.- Parameters:
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.
-