org.bouncycastle.asn1.x509
Class AccessDescription
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.x509.AccessDescription
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class AccessDescription
- extends ASN1Object
The AccessDescription object.
AccessDescription ::= SEQUENCE {
accessMethod OBJECT IDENTIFIER,
accessLocation GeneralName }
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
id_ad_caIssuers
public static final ASN1ObjectIdentifier id_ad_caIssuers
id_ad_ocsp
public static final ASN1ObjectIdentifier id_ad_ocsp
AccessDescription
public AccessDescription(ASN1ObjectIdentifier oid,
GeneralName location)
- create an AccessDescription with the oid and location provided.
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()
- Description copied from class:
ASN1Object
- Method providing a primitive representation of this object suitable for encoding.
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object