org.apache.geronimo.crypto.asn1.x509
Class AccessDescription
java.lang.Object
org.apache.geronimo.crypto.asn1.ASN1Encodable
org.apache.geronimo.crypto.asn1.x509.AccessDescription
- All Implemented Interfaces:
- DEREncodable
public class AccessDescription
- extends ASN1Encodable
The AccessDescription object.
AccessDescription ::= SEQUENCE {
accessMethod OBJECT IDENTIFIER,
accessLocation GeneralName }
AccessDescription
public AccessDescription(ASN1Sequence seq)
AccessDescription
public AccessDescription(DERObjectIdentifier oid,
GeneralName location)
- create an AccessDescription with the oid and location provided.
getInstance
public static AccessDescription getInstance(Object obj)
getAccessMethod
public DERObjectIdentifier getAccessMethod()
- Returns:
- the access method.
getAccessLocation
public GeneralName getAccessLocation()
- Returns:
- the access location
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.