Bouncy Castle Cryptography Library 1.48

org.bouncycastle.asn1.x509
Class V2Form

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.x509.V2Form
All Implemented Interfaces:
ASN1Encodable

public class V2Form
extends ASN1Object


Constructor Summary
V2Form(ASN1Sequence seq)
           
V2Form(GeneralNames issuerName)
           
 
Method Summary
 IssuerSerial getBaseCertificateID()
           
static V2Form getInstance(ASN1TaggedObject obj, boolean explicit)
           
static V2Form getInstance(java.lang.Object obj)
           
 GeneralNames getIssuerName()
           
 ObjectDigestInfo getObjectDigestInfo()
           
 ASN1Primitive toASN1Primitive()
          Produce an object suitable for an ASN1OutputStream.
 
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

V2Form

public V2Form(GeneralNames issuerName)

V2Form

public V2Form(ASN1Sequence seq)
Method Detail

getInstance

public static V2Form getInstance(ASN1TaggedObject obj,
                                 boolean explicit)

getInstance

public static V2Form getInstance(java.lang.Object obj)

getIssuerName

public GeneralNames getIssuerName()

getBaseCertificateID

public IssuerSerial getBaseCertificateID()

getObjectDigestInfo

public ObjectDigestInfo getObjectDigestInfo()

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
  V2Form ::= SEQUENCE {
       issuerName            GeneralNames  OPTIONAL,
       baseCertificateID     [0] IssuerSerial  OPTIONAL,
       objectDigestInfo      [1] ObjectDigestInfo  OPTIONAL
         -- issuerName MUST be present in this profile
         -- baseCertificateID and objectDigestInfo MUST NOT
         -- be present in this profile
  }
 

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

Bouncy Castle Cryptography Library 1.48