|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.pkcs.pkcs12.Attributes | +--iaik.pkcs.pkcs12.SafeBag | +--iaik.pkcs.pkcs12.CRLBag
This class contains a CRL and any associated attributes.
SafeBag
,
Attributes
Field Summary | |
protected X509CRL |
crl
The CRL. |
protected ASN1Object |
crl_type
The type of the CRL (X.509 per default) |
Constructor Summary | |
protected |
CRLBag()
Default constructor. |
|
CRLBag(X509CRL crl)
Creates a new CRLBag from an alreay existing CRL. |
|
CRLBag(X509CRL crl,
String friendlyName,
byte[] localKeyID)
Creates a new CRLBag from an alreay existing CRL, a friendlyName and a locakKeyID. |
Method Summary | |
void |
decode(ASN1Object obj)
Decodes the CRLBag given as ASN1Object. |
static X509CRL[] |
getCertificates(CRLBag[] crlBags)
This method can be used to convert a CRLBag array to a CRL array. |
X509CRL |
getCRL()
Returns the certificate of this CRLBag. |
ASN1Object |
toASN1Object()
Returns this CRLBag as ASN1Object. |
String |
toString()
Returns a String representation of this CRLBag. |
Methods inherited from class iaik.pkcs.pkcs12.SafeBag |
create, encodeSafeContents, encodeSafeContentsAsASN1Object, getBagType, parseSafeContents, parseSafeContents, register |
Methods inherited from class iaik.pkcs.pkcs12.Attributes |
getAttributes, getFriendlyName, getLocalKeyID, setAttributes, setFriendlyName, setLocalKeyID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected X509CRL crl
protected ASN1Object crl_type
Constructor Detail |
protected CRLBag()
public CRLBag(X509CRL crl)
public CRLBag(X509CRL crl, String friendlyName, byte[] localKeyID)
Method Detail |
public static X509CRL[] getCertificates(CRLBag[] crlBags)
crlBags
- The CRLs as PKCS12 CRL bags.public X509CRL getCRL()
public void decode(ASN1Object obj) throws CodingException
obj
- the CRLBag as ASN1ObjectCodingException
- if the CRLBag cannot be decodedpublic ASN1Object toASN1Object() throws CodingException
public String toString()
toString
in class SafeBag
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |