Bouncy Castle Cryptography Library 1.48

org.bouncycastle.asn1.x509
Class AccessDescription

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

public class AccessDescription
extends ASN1Object

The AccessDescription object.

 AccessDescription  ::=  SEQUENCE {
       accessMethod          OBJECT IDENTIFIER,
       accessLocation        GeneralName  }
 


Field Summary
static ASN1ObjectIdentifier id_ad_caIssuers
           
static ASN1ObjectIdentifier id_ad_ocsp
           
 
Constructor Summary
AccessDescription(ASN1ObjectIdentifier oid, GeneralName location)
          create an AccessDescription with the oid and location provided.
 
Method Summary
 GeneralName getAccessLocation()
           
 ASN1ObjectIdentifier getAccessMethod()
           
static AccessDescription getInstance(java.lang.Object obj)
           
 ASN1Primitive toASN1Primitive()
           
 java.lang.String toString()
           
 
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, wait, wait, wait
 

Field Detail

id_ad_caIssuers

public static final ASN1ObjectIdentifier id_ad_caIssuers

id_ad_ocsp

public static final ASN1ObjectIdentifier id_ad_ocsp
Constructor Detail

AccessDescription

public AccessDescription(ASN1ObjectIdentifier oid,
                         GeneralName location)
create an AccessDescription with the oid and location provided.

Method Detail

getInstance

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

getAccessMethod

public ASN1ObjectIdentifier getAccessMethod()
Returns:
the access method.

getAccessLocation

public GeneralName getAccessLocation()
Returns:
the access location

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Specified by:
toASN1Primitive in interface ASN1Encodable
Specified by:
toASN1Primitive in class ASN1Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Bouncy Castle Cryptography Library 1.48