Known Direct Subclasses
|
Class Overview
class to produce an X.509 Version 1 certificate.
Summary
Public Constructors |
|
X509v1CertificateBuilder(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
Create a builder for a version 1 certificate.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
X509v1CertificateBuilder
(X500Name issuer, BigInteger serial, Date notBefore, Date notAfter, X500Name subject, SubjectPublicKeyInfo publicKeyInfo)
Create a builder for a version 1 certificate.
Parameters
issuer
| the certificate issuer |
serial
| the certificate serial number |
notBefore
| the date before which the certificate is not valid |
notAfter
| the date after which the certificate is not valid |
subject
| the certificate subject |
publicKeyInfo
| the info structure for the public key to be associated with this certificate.
|
Public Methods
Generate an X509 certificate, based on the current issuer and subject
using the passed in signer.
Parameters
signer
| the content signer to be used to generate the signature validating the certificate. |
Returns
- a holder containing the resulting signed certificate.