public class JcaX509v1CertificateBuilder extends X509v1CertificateBuilder
Constructor and Description |
---|
JcaX509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
org.bouncycastle.asn1.x500.X500Name subject,
java.security.PublicKey publicKey)
Initialise the builder using a PublicKey.
|
JcaX509v1CertificateBuilder(javax.security.auth.x500.X500Principal issuer,
java.math.BigInteger serial,
java.util.Date notBefore,
java.util.Date notAfter,
javax.security.auth.x500.X500Principal subject,
java.security.PublicKey publicKey)
Initialise the builder using X500Principal objects and a PublicKey.
|
build
public JcaX509v1CertificateBuilder(org.bouncycastle.asn1.x500.X500Name issuer, java.math.BigInteger serial, java.util.Date notBefore, java.util.Date notAfter, org.bouncycastle.asn1.x500.X500Name subject, java.security.PublicKey publicKey)
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.public JcaX509v1CertificateBuilder(javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial, java.util.Date notBefore, java.util.Date notAfter, javax.security.auth.x500.X500Principal subject, java.security.PublicKey publicKey)
issuer
- principal 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
- principal representing the subject of this certificate.publicKey
- the public key to be associated with the certificate.