public class X509V2CRLGenerator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Hashtable |
algorithms
Deprecated.
|
private java.text.SimpleDateFormat |
dateF
Deprecated.
|
private java.util.Hashtable |
extensions
Deprecated.
|
private java.util.Vector |
extOrdering
Deprecated.
|
private AlgorithmIdentifier |
sigAlgId
Deprecated.
|
private java.lang.String |
signatureAlgorithm
Deprecated.
|
private DERObjectIdentifier |
sigOID
Deprecated.
|
private V2TBSCertListGenerator |
tbsGen
Deprecated.
|
private java.util.SimpleTimeZone |
tz
Deprecated.
|
Constructor and Description |
---|
X509V2CRLGenerator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addCRLEntry(java.math.BigInteger userCertificate,
java.util.Date revocationDate,
int reason)
Deprecated.
Reason being as indicated by CRLReason, i.e.
|
void |
addExtension(DERObjectIdentifier OID,
boolean critical,
byte[] value)
Deprecated.
add a given extension field for the standard extensions tag (tag 0)
|
void |
addExtension(DERObjectIdentifier OID,
boolean critical,
DEREncodable value)
Deprecated.
add a given extension field for the standard extensions tag (tag 0)
|
void |
addExtension(java.lang.String OID,
boolean critical,
byte[] value)
Deprecated.
add a given extension field for the standard extensions tag (tag 0)
|
void |
addExtension(java.lang.String OID,
boolean critical,
DEREncodable value)
Deprecated.
add a given extension field for the standard extensions tag (tag 3)
|
java.security.cert.X509CRL |
generateX509CRL(java.security.PrivateKey key)
Deprecated.
generate an X509 CRL, based on the current issuer and subject
using the default provider GammaTechProvider.PROVIDER_NAME.
|
java.security.cert.X509CRL |
generateX509CRL(java.security.PrivateKey key,
java.security.SecureRandom random)
Deprecated.
generate an X509 CRL, based on the current issuer and subject
using the default provider GammaTechProvider.PROVIDER_NAME and an user defined SecureRandom object as
source of randomness.
|
java.security.cert.X509CRL |
generateX509CRL(java.security.PrivateKey key,
java.lang.String provider)
Deprecated.
generate an X509 certificate, based on the current issuer and subject
using the passed in provider for the signing.
|
java.security.cert.X509CRL |
generateX509CRL(java.security.PrivateKey key,
java.lang.String provider,
java.security.SecureRandom random)
Deprecated.
generate an X509 CRL, based on the current issuer and subject,
using the passed in provider for the signing.
|
void |
reset()
Deprecated.
reset the generator
|
void |
setIssuerDN(X509Name issuer)
Deprecated.
Set the issuer distinguished name - the issuer is the entity whose private key is used to sign the
certificate.
|
void |
setNextUpdate(java.util.Date date)
Deprecated.
|
void |
setSignatureAlgorithm(java.lang.String signatureAlgorithm)
Deprecated.
|
void |
setThisUpdate(java.util.Date date)
Deprecated.
|
private java.text.SimpleDateFormat dateF
private java.util.SimpleTimeZone tz
private V2TBSCertListGenerator tbsGen
private DERObjectIdentifier sigOID
private AlgorithmIdentifier sigAlgId
private java.lang.String signatureAlgorithm
private java.util.Hashtable extensions
private java.util.Vector extOrdering
private static java.util.Hashtable algorithms
public void reset()
public void setIssuerDN(X509Name issuer)
public void setThisUpdate(java.util.Date date)
public void setNextUpdate(java.util.Date date)
public void addCRLEntry(java.math.BigInteger userCertificate, java.util.Date revocationDate, int reason)
public void setSignatureAlgorithm(java.lang.String signatureAlgorithm)
public void addExtension(java.lang.String OID, boolean critical, DEREncodable value)
public void addExtension(DERObjectIdentifier OID, boolean critical, DEREncodable value)
public void addExtension(java.lang.String OID, boolean critical, byte[] value)
public void addExtension(DERObjectIdentifier OID, boolean critical, byte[] value)
public java.security.cert.X509CRL generateX509CRL(java.security.PrivateKey key) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException
java.lang.SecurityException
java.security.SignatureException
java.security.InvalidKeyException
public java.security.cert.X509CRL generateX509CRL(java.security.PrivateKey key, java.security.SecureRandom random) throws java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException
java.lang.SecurityException
java.security.SignatureException
java.security.InvalidKeyException
public java.security.cert.X509CRL generateX509CRL(java.security.PrivateKey key, java.lang.String provider) throws java.security.NoSuchProviderException, java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException
java.security.NoSuchProviderException
java.lang.SecurityException
java.security.SignatureException
java.security.InvalidKeyException
public java.security.cert.X509CRL generateX509CRL(java.security.PrivateKey key, java.lang.String provider, java.security.SecureRandom random) throws java.security.NoSuchProviderException, java.lang.SecurityException, java.security.SignatureException, java.security.InvalidKeyException
java.security.NoSuchProviderException
java.lang.SecurityException
java.security.SignatureException
java.security.InvalidKeyException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.