Bouncy Castle Cryptography Library 1.60

org.bouncycastle.cert.bc
Class BcX509v1CertificateBuilder

java.lang.Object
  |
  +--org.bouncycastle.cert.X509v1CertificateBuilder
        |
        +--org.bouncycastle.cert.bc.BcX509v1CertificateBuilder

public class BcX509v1CertificateBuilder
extends X509v1CertificateBuilder

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


Constructor Summary
BcX509v1CertificateBuilder(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.crypto.params.AsymmetricKeyParameter publicKey)
          Initialise the builder using an AsymmetricKeyParameter.
 
Methods inherited from class org.bouncycastle.cert.X509v1CertificateBuilder
build
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcX509v1CertificateBuilder

public BcX509v1CertificateBuilder(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.crypto.params.AsymmetricKeyParameter publicKey)
                           throws java.io.IOException
Initialise the builder using an AsymmetricKeyParameter.
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.

Bouncy Castle Cryptography Library 1.60