public class X509CRLObject extends X509CRL
| Constructor and Description |
|---|
X509CRLObject(CertificateList c) |
| Modifier and Type | Method and Description |
|---|---|
Set |
getCriticalExtensionOIDs() |
byte[] |
getEncoded() |
byte[] |
getExtensionValue(String oid) |
Principal |
getIssuerDN() |
X500Principal |
getIssuerX500Principal() |
Date |
getNextUpdate() |
Set |
getNonCriticalExtensionOIDs() |
X509CRLEntry |
getRevokedCertificate(BigInteger serialNumber) |
Set |
getRevokedCertificates() |
String |
getSigAlgName() |
String |
getSigAlgOID() |
byte[] |
getSigAlgParams() |
byte[] |
getSignature() |
byte[] |
getTBSCertList() |
Date |
getThisUpdate() |
int |
getVersion() |
boolean |
hasUnsupportedCriticalExtension()
Will return true if any extensions are present and marked
as critical as we currently dont handle any extensions!
|
boolean |
isRevoked(Certificate cert)
Checks whether the given certificate is on this CRL.
|
String |
toString()
Returns a string representation of this CRL.
|
void |
verify(PublicKey key) |
void |
verify(PublicKey key,
String sigProvider) |
equals, getRevokedCertificate, hashCode, verifypublic X509CRLObject(CertificateList c) throws CRLException
CRLExceptionpublic boolean hasUnsupportedCriticalExtension()
public Set getCriticalExtensionOIDs()
public Set getNonCriticalExtensionOIDs()
public byte[] getExtensionValue(String oid)
public byte[] getEncoded()
throws CRLException
getEncoded in class X509CRLCRLExceptionpublic void verify(PublicKey key) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify in class X509CRLCRLExceptionNoSuchAlgorithmExceptionInvalidKeyExceptionNoSuchProviderExceptionSignatureExceptionpublic void verify(PublicKey key, String sigProvider) throws CRLException, NoSuchAlgorithmException, InvalidKeyException, NoSuchProviderException, SignatureException
verify in class X509CRLCRLExceptionNoSuchAlgorithmExceptionInvalidKeyExceptionNoSuchProviderExceptionSignatureExceptionpublic int getVersion()
getVersion in class X509CRLpublic Principal getIssuerDN()
getIssuerDN in class X509CRLpublic X500Principal getIssuerX500Principal()
getIssuerX500Principal in class X509CRLpublic Date getThisUpdate()
getThisUpdate in class X509CRLpublic Date getNextUpdate()
getNextUpdate in class X509CRLpublic X509CRLEntry getRevokedCertificate(BigInteger serialNumber)
getRevokedCertificate in class X509CRLpublic Set getRevokedCertificates()
getRevokedCertificates in class X509CRLpublic byte[] getTBSCertList()
throws CRLException
getTBSCertList in class X509CRLCRLExceptionpublic byte[] getSignature()
getSignature in class X509CRLpublic String getSigAlgName()
getSigAlgName in class X509CRLpublic String getSigAlgOID()
getSigAlgOID in class X509CRLpublic byte[] getSigAlgParams()
getSigAlgParams in class X509CRLpublic String toString()
public boolean isRevoked(Certificate cert)
Copyright © 2015. All rights reserved.