Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class AccessDescription

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1Object, .ASN1ObjectIdentifier, .ASN1Primitive, .ASN1Sequence, .DERSequence

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

Field Summary

Modifier and TypeField and Description
pack-priv GeneralName
pack-priv ASN1ObjectIdentifier
public static final ASN1ObjectIdentifier
public static final ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
private
public
AccessDescription(ASN1ObjectIdentifier oid, GeneralName location)

create an AccessDescription with the oid and location provided.

Method Summary

Modifier and TypeMethod and Description
public GeneralName

Returns:

the access location
getAccessLocation
()

public ASN1ObjectIdentifier

Returns:

the access method.
getAccessMethod
()

public static AccessDescription
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

accessLocationback to summary
pack-priv GeneralName accessLocation
accessMethodback to summary
pack-priv ASN1ObjectIdentifier accessMethod
id_ad_caIssuersback to summary
public static final ASN1ObjectIdentifier id_ad_caIssuers
id_ad_ocspback to summary
public static final ASN1ObjectIdentifier id_ad_ocsp

Constructor Detail

AccessDescriptionback to summary
private AccessDescription(ASN1Sequence seq)
AccessDescriptionback to summary
public AccessDescription(ASN1ObjectIdentifier oid, GeneralName location)

create an AccessDescription with the oid and location provided.

Method Detail

getAccessLocationback to summary
public GeneralName getAccessLocation()
Returns:GeneralName

the access location

getAccessMethodback to summary
public ASN1ObjectIdentifier getAccessMethod()
Returns:ASN1ObjectIdentifier

the access method.

getInstanceback to summary
public static AccessDescription getInstance(Object obj)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object