Bouncy Castle Cryptography Library 1.48

org.bouncycastle.asn1.pkcs
Class CRLBag

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.pkcs.CRLBag
All Implemented Interfaces:
ASN1Encodable

public class CRLBag
extends ASN1Object


Constructor Summary
CRLBag(ASN1ObjectIdentifier crlId, ASN1Encodable crlValue)
           
 
Method Summary
 ASN1ObjectIdentifier getcrlId()
           
 ASN1Encodable getCRLValue()
           
static CRLBag getInstance(java.lang.Object o)
           
 ASN1Primitive toASN1Primitive()
           CRLBag ::= SEQUENCE { crlId BAG-TYPE.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRLBag

public CRLBag(ASN1ObjectIdentifier crlId,
              ASN1Encodable crlValue)
Method Detail

getInstance

public static CRLBag getInstance(java.lang.Object o)

getcrlId

public ASN1ObjectIdentifier getcrlId()

getCRLValue

public ASN1Encodable getCRLValue()

toASN1Primitive

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

     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
     }
       

Specified by:
toASN1Primitive in interface ASN1Encodable
Specified by:
toASN1Primitive in class ASN1Object

Bouncy Castle Cryptography Library 1.48