Top Description Constructors Methods
org.bouncycastle.cert.jcajce

public Class JcaX509v1CertificateBuilder

extends X509v1CertificateBuilder
Class Inheritance
Imports
java.math.BigInteger, java.security.PublicKey, java.util.Date, javax.security.auth.x500.X500Principal, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.cert.X509v1CertificateBuilder

JCA helper class to allow JCA objects to be used in the construction of a Version 1 certificate.

Constructor Summary

AccessConstructor and Description
public
JcaX509v1CertificateBuilder(X500Name
X500Name representing the issuer of this certificate.
issuer
,
BigInteger
the serial number for the certificate.
serial
,
Date
date before which the certificate is not valid.
notBefore
,
Date
date after which the certificate is not valid.
notAfter
,
X500Name
X500Name representing the subject of this certificate.
subject
,
PublicKey
the public key to be associated with the certificate.
publicKey
)

Initialise the builder using a PublicKey.

public
JcaX509v1CertificateBuilder(X500Principal
principal representing the issuer of this certificate.
issuer
,
BigInteger
the serial number for the certificate.
serial
,
Date
date before which the certificate is not valid.
notBefore
,
Date
date after which the certificate is not valid.
notAfter
,
X500Principal
principal representing the subject of this certificate.
subject
,
PublicKey
the public key to be associated with the certificate.
publicKey
)

Initialise the builder using X500Principal objects and a PublicKey.

Method Summary

Inherited from org.bouncycastle.cert.X509v1CertificateBuilder:
build

Constructor Detail

JcaX509v1CertificateBuilderback to summary
public JcaX509v1CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, PublicKey publicKey)

Initialise the builder using a PublicKey.

Parameters
issuer:X500Name

X500Name representing the issuer of this certificate.

serial:BigInteger

the serial number for the certificate.

notBefore:Date

date before which the certificate is not valid.

notAfter:Date

date after which the certificate is not valid.

subject:X500Name

X500Name representing the subject of this certificate.

publicKey:PublicKey

the public key to be associated with the certificate.

JcaX509v1CertificateBuilderback to summary
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:X500Principal

principal representing the issuer of this certificate.

serial:BigInteger

the serial number for the certificate.

notBefore:Date

date before which the certificate is not valid.

notAfter:Date

date after which the certificate is not valid.

subject:X500Principal

principal representing the subject of this certificate.

publicKey:PublicKey

the public key to be associated with the certificate.