Class AccessDescription
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class AccessDescription extends ASN1Object
The AccessDescription object.
AccessDescription ::= SEQUENCE { accessMethod OBJECT IDENTIFIER, accessLocation GeneralName }
-
-
Field Summary
Fields Modifier and Type Field Description public final static ASN1ObjectIdentifier
id_ad_caIssuers
public final static ASN1ObjectIdentifier
id_ad_ocsp
public ASN1ObjectIdentifier
accessMethod
public GeneralName
accessLocation
-
Constructor Summary
Constructors Constructor Description AccessDescription(ASN1ObjectIdentifier oid, GeneralName location)
create an AccessDescription with the oid and location provided.
-
Method Summary
Modifier and Type Method Description ASN1ObjectIdentifier
getAccessMethod()
GeneralName
getAccessLocation()
static AccessDescription
getInstance(Object obj)
ASN1Primitive
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding. String
toString()
-
-
Constructor Detail
-
AccessDescription
AccessDescription(ASN1ObjectIdentifier oid, GeneralName location)
create an AccessDescription with the oid and location provided.
-
-
Method Detail
-
getAccessMethod
ASN1ObjectIdentifier getAccessMethod()
- Returns:
the access method.
-
getAccessLocation
GeneralName getAccessLocation()
- Returns:
the access location
-
getInstance
static AccessDescription getInstance(Object obj)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
- Returns:
a primitive representation of this object.
-
-
-
-