|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.cert.X509v2CRLBuilder
public class X509v2CRLBuilder
class to produce an X.509 Version 2 CRL.
| Constructor Summary | |
|---|---|
X509v2CRLBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.util.Date thisUpdate)
Basic constructor. |
|
| Method Summary | |
|---|---|
X509v2CRLBuilder |
addCRL(X509CRLHolder other)
Add the CRLEntry objects contained in a previous CRL. |
X509v2CRLBuilder |
addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
org.bouncycastle.asn1.x509.Extensions extensions)
Add a CRL entry with extensions. |
X509v2CRLBuilder |
addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
int reason)
Add a CRL entry with the just reasonCode extension. |
X509v2CRLBuilder |
addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
int reason,
java.util.Date invalidityDate)
Add a CRL entry with an invalidityDate extension as well as a reasonCode extension. |
X509v2CRLBuilder |
addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
org.bouncycastle.asn1.x509.X509Extensions extensions)
Deprecated. use method taking Extensions |
X509v2CRLBuilder |
addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
org.bouncycastle.asn1.ASN1Encodable value)
Add a given extension field for the standard extensions tag (tag 3) |
X509CRLHolder |
build(org.bouncycastle.operator.ContentSigner signer)
Generate an X.509 CRL, based on the current issuer and subject using the passed in signer. |
X509v2CRLBuilder |
setNextUpdate(java.util.Date date)
Set the date by which the next CRL will become available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509v2CRLBuilder(org.bouncycastle.asn1.x500.X500Name issuer,
java.util.Date thisUpdate)
issuer - the issuer this CRL is associated with.thisUpdate - the date of this update.| Method Detail |
|---|
public X509v2CRLBuilder setNextUpdate(java.util.Date date)
date - date of next CRL update.
public X509v2CRLBuilder addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
int reason)
userCertificateSerial - serial number of revoked certificate.revocationDate - date of certificate revocation.reason - the reason code, as indicated in CRLReason, i.e CRLReason.keyCompromise, or 0 if not to be used.
public X509v2CRLBuilder addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
int reason,
java.util.Date invalidityDate)
userCertificateSerial - serial number of revoked certificate.revocationDate - date of certificate revocation.reason - the reason code, as indicated in CRLReason, i.e CRLReason.keyCompromise, or 0 if not to be used.invalidityDate - the date on which the private key for the certificate became compromised or the certificate otherwise became invalid.
public X509v2CRLBuilder addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
org.bouncycastle.asn1.x509.X509Extensions extensions)
userCertificateSerial - serial number of revoked certificate.revocationDate - date of certificate revocation.extensions - extension set to be associated with this CRLEntry.
public X509v2CRLBuilder addCRLEntry(java.math.BigInteger userCertificateSerial,
java.util.Date revocationDate,
org.bouncycastle.asn1.x509.Extensions extensions)
userCertificateSerial - serial number of revoked certificate.revocationDate - date of certificate revocation.extensions - extension set to be associated with this CRLEntry.
public X509v2CRLBuilder addCRL(X509CRLHolder other)
other - the X509CRLHolder to source the other entries from.
public X509v2CRLBuilder addExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
boolean isCritical,
org.bouncycastle.asn1.ASN1Encodable value)
throws CertIOException
oid - the OID defining the extension type.isCritical - true if the extension is critical, false otherwise.value - the ASN.1 structure that forms the extension's value.
CertIOExceptionpublic X509CRLHolder build(org.bouncycastle.operator.ContentSigner signer)
signer - the content signer to be used to generate the signature validating the certificate.
|
Bouncy Castle Cryptography 1.47 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||