org.bouncycastle.asn1.x509

Class AccessDescription

Implemented Interfaces:
DEREncodable

public class AccessDescription
extends ASN1Encodable

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

Constructor Summary

AccessDescription(ASN1Sequence seq)
AccessDescription(DERObjectIdentifier oid, GeneralName location)
create an AccessDescription with the oid and location provided.

Method Summary

GeneralName
getAccessLocation()
DERObjectIdentifier
getAccessMethod()
static AccessDescription
getInstance(Object obj)
DERObject
toASN1Object()
String
toString()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDERObject, getEncoded, hashCode, toASN1Object

Constructor Details

AccessDescription

public AccessDescription(ASN1Sequence seq)


AccessDescription

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

Method Details

getAccessLocation

public GeneralName getAccessLocation()

Returns:
the access location


getAccessMethod

public DERObjectIdentifier getAccessMethod()

Returns:
the access method.


getInstance

public static AccessDescription getInstance(Object obj)


toASN1Object

public DERObject toASN1Object()
Overrides:
toASN1Object in interface ASN1Encodable


toString

public String toString()