public class CertificateBuilderFactory extends Object
CertificateBuilderFactory holds methods for creating
CertificateBuilder.| Constructor and Description |
|---|
CertificateBuilderFactory() |
| Modifier and Type | Method and Description |
|---|---|
static org.bouncycastle.cert.X509v1CertificateBuilder |
newX509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
PublicKey publicKey)
Factory method for creating a new
X509v1CertificateBuilder object of version 1 of
X.509 from the given parameters. |
static org.bouncycastle.cert.X509v3CertificateBuilder |
newX509v3CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
Factory method for creating a new
X509v3CertificateBuilder object of version 3 of
X.509 from the given parameters. |
public static org.bouncycastle.cert.X509v1CertificateBuilder newX509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
PublicKey publicKey)
X509v1CertificateBuilder object of version 1 of
X.509 from the given 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.X509v3CertificateBuilder objectpublic static org.bouncycastle.cert.X509v3CertificateBuilder newX509v3CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
org.bouncycastle.asn1.x509.SubjectPublicKeyInfo publicKeyInfo)
X509v3CertificateBuilder object of version 3 of
X.509 from the given 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.publicKeyInfo - the info structure for the public key to be associated with this certificate.X509v3CertificateBuilder objectCopyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.