codec.pkcs12
Class CRLBag
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.pkcs12.CRLBag
- All Implemented Interfaces:
- ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable
- public class CRLBag
- extends ASN1Sequence
- implements Serializable
This class represents a CRLBag as defined in PKCS#12.
The ASN.1 definition of this structure is
CRLBag ::= SEQUENCE {
crlId BAG-TYPE.&id ({CRLTypes}),
crlValue [0] EXPLICIT BAG-TYPE.&Type ({CRLTypes}{@crlId})
}
x509CRL BAG-TYPE::=
{OCTET STRING IDENTIFIED BY {RCL Types 1}} -- DER encoded X.509 certificate stored in OCTET STRING
CRLTypes BAG-TYPE::={
x509CRL|
... -- For future extensions
- Version:
- "$Id: CRLBag.java,v 1.3 2003/01/28 04:46:05 jpeters Exp $"
- Author:
- Michele Boivin
- See Also:
- Serialized Form
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, encode, getCollection, getConstraint, getTagClass, getValue, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, toString, writeExternal |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
reg_
protected PKCS12OIDRegistry reg_
CRLBag
public CRLBag()
CRLBag
public CRLBag(X509Crl crl)
throws CRLException
decode
public void decode(Decoder decoder)
throws ASN1Exception,
IOException
- Decodes this instance. This method extracts the actual content type from
the
ASN1OpenType.
- Overrides:
decode in class ASN1AbstractCollection
- Parameters:
decoder - The Decoder to use.
getCrlId
public ASN1ObjectIdentifier getCrlId()
getCrlValue
public ASN1Type getCrlValue()
- returns the CRL Value. In case of an x509 CRL the DER encoded value as an
ASN1OctetString.
getOID
public ASN1ObjectIdentifier getOID()
- Returns the OID of this bag type.
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.