Package se.swedenconnect.cert.extensions
Class SubjectInformationAccess
java.lang.Object
org.bouncycastle.asn1.ASN1Object
se.swedenconnect.cert.extensions.SubjectInformationAccess
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable,org.bouncycastle.util.Encodable
public class SubjectInformationAccess
extends org.bouncycastle.asn1.ASN1Object
SubjectInformationAccess X.509 extension implementation for extending Bouncycastle
The AuthorityInformationAccess object.
id-pe-subjectInfoAccess OBJECT IDENTIFIER ::= { id-pe 11 }
SubjectInfoAccessSyntax ::=
SEQUENCE SIZE (1..MAX) OF AccessDescription
AccessDescription ::= SEQUENCE {
accessMethod OBJECT IDENTIFIER,
accessLocation GeneralName }
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.bouncycastle.asn1.ASN1ObjectIdentifiercaRepository access method OIDstatic final org.bouncycastle.asn1.ASN1ObjectIdentifiertimeStamping access method OID -
Constructor Summary
ConstructorsConstructorDescriptionSubjectInformationAccess(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.asn1.x509.GeneralName location) create an AuthorityInformationAccess with the oid and location provided.SubjectInformationAccess(org.bouncycastle.asn1.x509.AccessDescription description) ConstructorSubjectInformationAccess(org.bouncycastle.asn1.x509.AccessDescription[] accessDescriptions) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectInformationAccessfromExtensions(org.bouncycastle.asn1.x509.Extensions extensions) Creates an instance of SubjectInformationAccess extensionstatic SubjectInformationAccessgetInstance(Object obj) Creates an instance of SubjectInformationAccess extensionorg.bouncycastle.asn1.ASN1PrimitivetoString()Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
caRepository
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier caRepositorycaRepository access method OID -
timeStamping
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier timeStampingtimeStamping access method OID
-
-
Constructor Details
-
SubjectInformationAccess
public SubjectInformationAccess(org.bouncycastle.asn1.x509.AccessDescription description) Constructor- Parameters:
description- access description
-
SubjectInformationAccess
public SubjectInformationAccess(org.bouncycastle.asn1.x509.AccessDescription[] accessDescriptions) Constructor- Parameters:
accessDescriptions- access descriptions
-
SubjectInformationAccess
public SubjectInformationAccess(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.asn1.x509.GeneralName location) create an AuthorityInformationAccess with the oid and location provided.- Parameters:
oid- OIDlocation- location
-
-
Method Details
-
getInstance
Creates an instance of SubjectInformationAccess extension- Parameters:
obj- object holding extension data- Returns:
SubjectInformationAccessextension
-
fromExtensions
public static SubjectInformationAccess fromExtensions(org.bouncycastle.asn1.x509.Extensions extensions) Creates an instance of SubjectInformationAccess extension- Parameters:
extensions- extensions data- Returns:
SubjectInformationAccessextension
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-
toString
-