Package org.bouncycastle.asn1.x509
Class AccessDescription
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.AccessDescription
- All Implemented Interfaces:
ASN1Encodable
,Encodable
The AccessDescription object.
AccessDescription ::= SEQUENCE { accessMethod OBJECT IDENTIFIER, accessLocation GeneralName }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ASN1ObjectIdentifier
static final ASN1ObjectIdentifier
-
Constructor Summary
ConstructorsConstructorDescriptionAccessDescription
(ASN1ObjectIdentifier oid, GeneralName location) create an AccessDescription with the oid and location provided. -
Method Summary
Modifier and TypeMethodDescriptionstatic AccessDescription
getInstance
(Object obj) Method providing a primitive representation of this object suitable for encoding.toString()
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
id_ad_caIssuers
-
id_ad_ocsp
-
-
Constructor Details
-
AccessDescription
create an AccessDescription with the oid and location provided.
-
-
Method Details
-
getInstance
-
getAccessMethod
- Returns:
- the access method.
-
getAccessLocation
- Returns:
- the access location
-
toASN1Primitive
Description copied from class:ASN1Object
Method providing a primitive representation of this object suitable for encoding.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
toString
-