org.gudy.bouncycastle.asn1.x509
Class AttCertIssuer

java.lang.Object
  extended by org.gudy.bouncycastle.asn1.ASN1Encodable
      extended by org.gudy.bouncycastle.asn1.x509.AttCertIssuer
All Implemented Interfaces:
ASN1Choice, DEREncodable

public class AttCertIssuer
extends ASN1Encodable
implements ASN1Choice


Field Summary
 
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
AttCertIssuer(GeneralNames names)
          Don't use this one if you are trying to be RFC 3281 compliant.
AttCertIssuer(V2Form v2Form)
           
 
Method Summary
static AttCertIssuer getInstance(ASN1TaggedObject obj, boolean explicit)
           
static AttCertIssuer getInstance(java.lang.Object obj)
           
 ASN1Encodable getIssuer()
           
 DERObject toASN1Object()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttCertIssuer

public AttCertIssuer(GeneralNames names)
Don't use this one if you are trying to be RFC 3281 compliant. Use it for v1 attribute certificates only.

Parameters:
names - our GeneralNames structure

AttCertIssuer

public AttCertIssuer(V2Form v2Form)
Method Detail

getInstance

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

getInstance

public static AttCertIssuer getInstance(ASN1TaggedObject obj,
                                        boolean explicit)

getIssuer

public ASN1Encodable getIssuer()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
  AttCertIssuer ::= CHOICE {
       v1Form   GeneralNames,  -- MUST NOT be used in this
                               -- profile
       v2Form   [0] V2Form     -- v2 only
  }
 

Specified by:
toASN1Object in class ASN1Encodable