public class BcX509v1CertificateBuilder extends X509v1CertificateBuilder
Constructor and Description |
---|
BcX509v1CertificateBuilder(X500Name issuer,
BigInteger serial,
Date notBefore,
Date notAfter,
X500Name subject,
AsymmetricKeyParameter publicKey)
Initialise the builder using an AsymmetricKeyParameter.
|
public BcX509v1CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, AsymmetricKeyParameter publicKey) throws IOException
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.IOException
Copyright © 2020 BouncyCastle.org. All rights reserved.