Top Description Constructors Methods
org.bouncycastle.cert.bc

public Class BcX509v1CertificateBuilder

extends X509v1CertificateBuilder
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, java.util.Date, org.bouncycastle.asn1.x500.X500Name, org.bouncycastle.cert.X509v1CertificateBuilder, org.bouncycastle.crypto.params.AsymmetricKeyParameter, org.bouncycastle.crypto.util.SubjectPublicKeyInfoFactory

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

Constructor Summary

AccessConstructor and Description
public
BcX509v1CertificateBuilder(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
,
AsymmetricKeyParameter
the public key to be associated with the certificate.
publicKey
)

Initialise the builder using an AsymmetricKeyParameter.

Method Summary

Inherited from org.bouncycastle.cert.X509v1CertificateBuilder:
build

Constructor Detail

BcX509v1CertificateBuilderback to summary
public BcX509v1CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, AsymmetricKeyParameter publicKey) throws IOException

Initialise the builder using an AsymmetricKeyParameter.

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:AsymmetricKeyParameter

the public key to be associated with the certificate.