Top Description Fields Constructors Methods
org.bouncycastle.asn1.pkcs

public Class CRLBag

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DERSequence, .DERTaggedObject

CRL Bag for PKCS#12

Field Summary

Modifier and TypeField and Description
private ASN1ObjectIdentifier
private ASN1Encodable

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public ASN1ObjectIdentifier
public ASN1Encodable
public static CRLBag
public ASN1Primitive
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

crlIdback to summary
private ASN1ObjectIdentifier crlId
crlValueback to summary
private ASN1Encodable crlValue

Constructor Detail

CRLBagback to summary
private CRLBag(ASN1Sequence seq)
CRLBagback to summary
public CRLBag(ASN1ObjectIdentifier crlId, ASN1Encodable crlValue)

Method Detail

getCrlIdback to summary
public ASN1ObjectIdentifier getCrlId()
getCrlValueback to summary
public ASN1Encodable getCrlValue()
getInstanceback to summary
public static CRLBag getInstance(Object o)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

CRLBag ::= SEQUENCE {
crlId  BAG-TYPE.&id ({CRLTypes}),
crlValue  [0] EXPLICIT BAG-TYPE.&Type ({CRLTypes}{@crlId})
}

x509CRL BAG-TYPE ::= {OCTET STRING IDENTIFIED BY {certTypes 1}
-- DER-encoded X.509 CRL stored in OCTET STRING

CRLTypes BAG-TYPE ::= {
x509CRL,
... -- For future extensions
}
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.