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 ASN1ObjectIdentifierid_ad_caIssuerspublic final static ASN1ObjectIdentifierid_ad_ocsppublic ASN1ObjectIdentifieraccessMethodpublic GeneralNameaccessLocation
-
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 ASN1ObjectIdentifiergetAccessMethod()GeneralNamegetAccessLocation()static AccessDescriptiongetInstance(Object obj)ASN1PrimitivetoASN1Primitive()Method providing a primitive representation of this object suitable for encoding. StringtoString()-
-
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.
-
-
-
-