Deprecated
use org.bouncycastle.cert.X509v2CRLBuilder.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final JcaJceHelper | |
| private X509ExtensionsGenerator | extGenerator
Deprecated
as a consequence of
X509ExtensionsGenerator being deprecated.
|
| private AlgorithmIdentifier | |
| private String | |
| private ASN1ObjectIdentifier | |
| private V2TBSCertListGenerator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason)
Reason being as indicated by CRLReason, i.e. CRLReason.keyCompromise or 0 if CRLReason is not to be used |
| public void | addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason, Date invalidityDate)
Add a CRL entry with an Invalidity Date extension as well as a CRLReason extension. |
| public void | addCRLEntry(BigInteger userCertificate, Date revocationDate, X509Extensions extensions)
Deprecated
as a consequence of
Add a CRL entry with extensions.
X509Extensions being deprecated.
|
| public void | addExtension(String oid, boolean critical, ASN1Encodable value)
add a given extension field for the standard extensions tag (tag 0) |
| public void | addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value)
add a given extension field for the standard extensions tag (tag 0) |
| public void | addExtension(String oid, boolean critical, byte[] value)
add a given extension field for the standard extensions tag (tag 0) |
| public void | addExtension(ASN1ObjectIdentifier oid, boolean critical, byte[] value)
add a given extension field for the standard extensions tag (tag 0) |
| public X509CRL | generate(PrivateKey key)
generate an X509 CRL, based on the current issuer and subject using the default provider. |
| public X509CRL | generate(PrivateKey key, SecureRandom random)
generate an X509 CRL, based on the current issuer and subject using the default provider and an user defined SecureRandom object as source of randomness. |
| public X509CRL | generate(PrivateKey key, String provider)
generate an X509 certificate, based on the current issuer and subject using the passed in provider for the signing. |
| public X509CRL | generate(PrivateKey key, String provider, SecureRandom random)
generate an X509 CRL, based on the current issuer and subject, using the passed in provider for the signing. |
| private TBSCertList | |
| private X509CRL | |
| public X509CRL | generateX509CRL(PrivateKey key)
Deprecated
use generate(key, "BC")
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC".
|
| public X509CRL | generateX509CRL(PrivateKey key, SecureRandom random)
Deprecated
use generate(key, random, "BC")
generate an X509 CRL, based on the current issuer and subject
using the default provider "BC" and an user defined SecureRandom object as
source of randomness.
|
| public X509CRL | generateX509CRL(PrivateKey key, String provider)
Deprecated
use generate()
generate an X509 certificate, based on the current issuer and subject
using the passed in provider for the signing.
|
| public X509CRL | generateX509CRL(PrivateKey key, String provider, SecureRandom random)
Deprecated
use generate()
generate an X509 CRL, based on the current issuer and subject,
using the passed in provider for the signing.
|
| public Iterator | Returns: an iterator containing recognised names.Return an iterator of the signature names supported by the generator. |
| public void | |
| public void | setIssuerDN(X500Principal issuer)
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate. |
| public void | setIssuerDN(X509Name issuer)
Deprecated
as a consequence of
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the
certificate.
X509Name being deprecated.
|
| public void | |
| public void | setSignatureAlgorithm(String
string representation of the algorithm name. signatureAlgorithm)Set the signature algorithm. |
| public void |
| bcHelper | back to summary |
|---|---|
| private final JcaJceHelper bcHelper | |
| extGenerator | back to summary |
|---|---|
| private X509ExtensionsGenerator extGenerator
Deprecated as a consequence of | |
| sigAlgId | back to summary |
|---|---|
| private AlgorithmIdentifier sigAlgId | |
| signatureAlgorithm | back to summary |
|---|---|
| private String signatureAlgorithm | |
| sigOID | back to summary |
|---|---|
| private ASN1ObjectIdentifier sigOID | |
| tbsGen | back to summary |
|---|---|
| private V2TBSCertListGenerator tbsGen | |
| X509V2CRLGenerator | back to summary |
|---|---|
| public X509V2CRLGenerator() | |
| addCRL | back to summary |
|---|---|
| public void addCRL(X509CRL other) throws CRLException Add the CRLEntry objects contained in a previous CRL.
| |
| addCRLEntry | back to summary |
|---|---|
| public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason) Reason being as indicated by CRLReason, i.e. CRLReason.keyCompromise or 0 if CRLReason is not to be used | |
| addCRLEntry | back to summary |
|---|---|
| public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason, Date invalidityDate) Add a CRL entry with an Invalidity Date extension as well as a CRLReason extension. Reason being as indicated by CRLReason, i.e. CRLReason.keyCompromise or 0 if CRLReason is not to be used | |
| addCRLEntry | back to summary |
|---|---|
| public void addCRLEntry(BigInteger userCertificate, Date revocationDate, X509Extensions extensions)
Deprecated as a consequence of Add a CRL entry with extensions. | |
| addExtension | back to summary |
|---|---|
| public void addExtension(String oid, boolean critical, ASN1Encodable value) add a given extension field for the standard extensions tag (tag 0) | |
| addExtension | back to summary |
|---|---|
| public void addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) add a given extension field for the standard extensions tag (tag 0) | |
| addExtension | back to summary |
|---|---|
| public void addExtension(String oid, boolean critical, byte[] value) add a given extension field for the standard extensions tag (tag 0) | |
| addExtension | back to summary |
|---|---|
| public void addExtension(ASN1ObjectIdentifier oid, boolean critical, byte[] value) add a given extension field for the standard extensions tag (tag 0) | |
| generate | back to summary |
|---|---|
| public X509CRL generate(PrivateKey key) throws CRLException, IllegalStateException, NoSuchAlgorithmException, SignatureException, InvalidKeyException generate an X509 CRL, based on the current issuer and subject using the default provider. Note this differs from the deprecated method in that the default provider is used - not "BC". | |
| generate | back to summary |
|---|---|
| public X509CRL generate(PrivateKey key, SecureRandom random) throws CRLException, IllegalStateException, NoSuchAlgorithmException, SignatureException, InvalidKeyException generate an X509 CRL, based on the current issuer and subject using the default provider and an user defined SecureRandom object as source of randomness. Note this differs from the deprecated method in that the default provider is used - not "BC". | |
| generate | back to summary |
|---|---|
| public X509CRL generate(PrivateKey key, String provider) throws CRLException, IllegalStateException, NoSuchProviderException, NoSuchAlgorithmException, SignatureException, InvalidKeyException generate an X509 certificate, based on the current issuer and subject using the passed in provider for the signing. | |
| generate | back to summary |
|---|---|
| public X509CRL generate(PrivateKey key, String provider, SecureRandom random) throws CRLException, IllegalStateException, NoSuchProviderException, NoSuchAlgorithmException, SignatureException, InvalidKeyException generate an X509 CRL, based on the current issuer and subject, using the passed in provider for the signing. | |
| generateCertList | back to summary |
|---|---|
| private TBSCertList generateCertList() | |
| generateJcaObject | back to summary |
|---|---|
| private X509CRL generateJcaObject(TBSCertList tbsCrl, byte[] signature) throws CRLException | |
| generateX509CRL | back to summary |
|---|---|
| public X509CRL generateX509CRL(PrivateKey key) throws SecurityException, SignatureException, InvalidKeyException
Deprecated use generate(key, "BC") generate an X509 CRL, based on the current issuer and subject using the default provider "BC". | |
| generateX509CRL | back to summary |
|---|---|
| public X509CRL generateX509CRL(PrivateKey key, SecureRandom random) throws SecurityException, SignatureException, InvalidKeyException
Deprecated use generate(key, random, "BC") generate an X509 CRL, based on the current issuer and subject using the default provider "BC" and an user defined SecureRandom object as source of randomness. | |
| generateX509CRL | back to summary |
|---|---|
| public X509CRL generateX509CRL(PrivateKey key, String provider) throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException
Deprecated use generate() generate an X509 certificate, based on the current issuer and subject using the passed in provider for the signing. | |
| generateX509CRL | back to summary |
|---|---|
| public X509CRL generateX509CRL(PrivateKey key, String provider, SecureRandom random) throws NoSuchProviderException, SecurityException, SignatureException, InvalidKeyException
Deprecated use generate() generate an X509 CRL, based on the current issuer and subject, using the passed in provider for the signing. | |
| getSignatureAlgNames | back to summary |
|---|---|
| public Iterator Return an iterator of the signature names supported by the generator.
| |
| reset | back to summary |
|---|---|
| public void reset() reset the generator | |
| setIssuerDN | back to summary |
|---|---|
| public void setIssuerDN(X500Principal issuer) Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate. | |
| setIssuerDN | back to summary |
|---|---|
| public void setIssuerDN(X509Name issuer)
Deprecated as a consequence of Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the certificate. | |
| setNextUpdate | back to summary |
|---|---|
| public void setNextUpdate(Date date) | |
| setSignatureAlgorithm | back to summary |
|---|---|
| public void setSignatureAlgorithm(String signatureAlgorithm) Set the signature algorithm. This can be either a name or an OID, names are treated as case insensitive.
| |
| setThisUpdate | back to summary |
|---|---|
| public void setThisUpdate(Date date) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | getCause()
Overrides java. null if the
cause is nonexistent or unknown.
|
| cause | back to summary |
|---|---|
| pack-priv Throwable cause Hides java. | |
| ExtCRLException | back to summary |
|---|---|
| pack-priv ExtCRLException(String message, Throwable cause) | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Doc from java. Returns the cause of this throwable or This implementation returns the cause that was supplied via one of
the constructors requiring a
| |