public class X509v1CertificateBuilder
extends java.lang.Object
| Constructor and Description |
|---|
X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
java.util.Locale dateLocale,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Create a builder for a version 1 certificate.
|
X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Create a builder for a version 1 certificate.
|
X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
org.bouncycastle.asn1.x509.Time notBefore,
org.bouncycastle.asn1.x509.Time notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Create a builder for a version 1 certificate.
|
| Modifier and Type | Method and Description |
|---|---|
X509CertificateHolder |
build(ContentSigner signer)
Generate an X509 certificate, based on the current issuer and subject
using the passed in signer.
|
public X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
issuer - the certificate issuerserial - the certificate serial numbernotBefore - the date before which the certificate is not validnotAfter - the date after which the certificate is not validsubject - the certificate subjectpublicKeyInfo - the info structure for the public key to be associated with this certificate.public X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
java.util.Locale dateLocale,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
issuer - the certificate issuerserial - the certificate serial numbernotBefore - the date before which the certificate is not validnotAfter - the date after which the certificate is not validdateLocale - locale to be used for date interpretation.subject - the certificate subjectpublicKeyInfo - the info structure for the public key to be associated with this certificate.public X509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
org.bouncycastle.asn1.x509.Time notBefore,
org.bouncycastle.asn1.x509.Time notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
issuer - the certificate issuerserial - the certificate serial numbernotBefore - the Time before which the certificate is not validnotAfter - the Time after which the certificate is not validsubject - the certificate subjectpublicKeyInfo - the info structure for the public key to be associated with this certificate.public X509CertificateHolder build(ContentSigner signer)
signer - the content signer to be used to generate the signature validating the certificate.