|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Encodable
be.cardon.asn1.x509.extensions.AuthorityInformationAccess
public class AuthorityInformationAccess
Extension AuthorityInformationAccess
.
Documentation from RFC 3280:
The authority information access extension indicates how to access CA
information and services for the issuer of the certificate in which
the extension appears. Information and services may include on-line
validation services and CA policy data. (The location of CRLs is not
specified in this extension; that information is provided by the
cRLDistributionPoints
extension.) This extension may be included in
end entity or CA certificates, and it MUST be non-critical.
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 }
Each entry in the sequence AuthorityInfoAccessSyntax
describes the
format and location of additional information provided by the CA that
issued the certificate in which this extension appears. The type and
format of the information is specified by the accessMethod
field; the
accessLocation
field specifies the location of the information. The
retrieval mechanism may be implied by the accessMethod
or specified
by accessLocation
.
This profile defines two accessMethod
OIDs: id-ad-caIssuers
and
id-ad-ocsp
.
The id-ad-caIssuers
OID is used when the additional information lists
CAs that have issued certificates superior to the CA that issued the
certificate containing this extension. The referenced CA issuers
description is intended to aid certificate users in the selection of
a certification path that terminates at a point trusted by the
certificate user.
When id-ad-caIssuers
appears as accessMethod
, the
accessLocation
field describes the referenced description server and the access
protocol to obtain the referenced description. The accessLocation
field is defined as a GeneralName
, which can take several forms.
accessLocation
MUST be a uniformResourceIdentifier
. accessLocation
MUST be a directoryName
. The entry for that
directoryName
contains CA certificates in the crossCertificatePair
attribute. accessLocation
MUST be an rfc822Name
. id-ad-caIssuers accessLocation
name forms are not defined.The id-ad-ocsp
OID is used when revocation information for the
certificate containing this extension is available using the Online
Certificate Status Protocol (OCSP) [RFC 2560].
When id-ad-ocsp
appears as accessMethod, the accessLocation field is
the location of the OCSP responder, using the conventions defined in
[RFC 2560].
Additional access descriptors may be defined in other PKIX specifications.
AccessDescription
Field Summary |
---|
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
AuthorityInformationAccess(org.bouncycastle.asn1.ASN1Sequence seq)
Creates a new instance from a ASN1Sequence object. |
|
AuthorityInformationAccess(java.util.Vector<AccessDescription> accessDescriptionVector)
Creates a new instance with the given accessDescription vector. |
Method Summary | |
---|---|
java.util.Vector<AccessDescription> |
getAccessDescriptionVector()
Returns a vector with the AccessDescription objects. |
static AuthorityInformationAccess |
getInstance(java.lang.Object obj)
Returns an instance from a ASN1Sequence , or a
AuthorityInformationAccess object. |
org.bouncycastle.asn1.DERObject |
toASN1Object()
|
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorityInformationAccess(org.bouncycastle.asn1.ASN1Sequence seq)
ASN1Sequence
object.
public AuthorityInformationAccess(java.util.Vector<AccessDescription> accessDescriptionVector)
accessDescription
vector.
Method Detail |
---|
public static AuthorityInformationAccess getInstance(java.lang.Object obj)
ASN1Sequence
, or a
AuthorityInformationAccess
object.
public java.util.Vector<AccessDescription> getAccessDescriptionVector()
AccessDescription
objects.
public org.bouncycastle.asn1.DERObject toASN1Object()
toASN1Object
in class org.bouncycastle.asn1.ASN1Encodable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |