Package org.gudy.bouncycastle.asn1.x509
Class AuthorityInformationAccess
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.AuthorityInformationAccess
-
- All Implemented Interfaces:
DEREncodable
public class AuthorityInformationAccess extends ASN1Encodable
The AuthorityInformationAccess object.id-pe-authorityInfoAccess OBJECT IDENTIFIER ::= { id-pe 1 } AuthorityInfoAccessSyntax ::= SEQUENCE SIZE (1..MAX) OF AccessDescription AccessDescription ::= SEQUENCE { accessMethod OBJECT IDENTIFIER, accessLocation GeneralName } id-ad OBJECT IDENTIFIER ::= { id-pkix 48 } id-ad-caIssuers OBJECT IDENTIFIER ::= { id-ad 2 } id-ad-ocsp OBJECT IDENTIFIER ::= { id-ad 1 }
-
-
Field Summary
Fields Modifier and Type Field Description private AccessDescription[]
descriptions
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Constructor Description AuthorityInformationAccess(ASN1Sequence seq)
AuthorityInformationAccess(DERObjectIdentifier oid, GeneralName location)
create an AuthorityInformationAccess with the oid and location provided.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessDescription[]
getAccessDescriptions()
static AuthorityInformationAccess
getInstance(java.lang.Object obj)
DERObject
toASN1Object()
java.lang.String
toString()
-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
descriptions
private AccessDescription[] descriptions
-
-
Constructor Detail
-
AuthorityInformationAccess
public AuthorityInformationAccess(ASN1Sequence seq)
-
AuthorityInformationAccess
public AuthorityInformationAccess(DERObjectIdentifier oid, GeneralName location)
create an AuthorityInformationAccess with the oid and location provided.
-
-
Method Detail
-
getInstance
public static AuthorityInformationAccess getInstance(java.lang.Object obj)
-
getAccessDescriptions
public AccessDescription[] getAccessDescriptions()
- Returns:
- the access descriptions contained in this object.
-
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in classASN1Encodable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-