Class Admissions
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.isismtt.x509.Admissions
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class Admissions
extends org.bouncycastle.asn1.ASN1Object
An Admissions structure.
Admissions ::= SEQUENCE { admissionAuthority [0] EXPLICIT GeneralName OPTIONAL namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL professionInfos SEQUENCE OF ProfessionInfo }
- See Also:
-
Constructor Summary
ConstructorDescriptionAdmissions
(org.bouncycastle.asn1.x509.GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos) Constructor from a given details. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.GeneralName
static Admissions
getInstance
(Object obj) org.bouncycastle.asn1.ASN1Primitive
Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
Admissions
public Admissions(org.bouncycastle.asn1.x509.GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos) Constructor from a given details.Parameter
professionInfos
is mandatory.- Parameters:
admissionAuthority
- The admission authority.namingAuthority
- The naming authority.professionInfos
- The profession infos.
-
-
Method Details
-
getInstance
-
getAdmissionAuthority
public org.bouncycastle.asn1.x509.GeneralName getAdmissionAuthority() -
getNamingAuthority
-
getProfessionInfos
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()Produce an object suitable for an ASN1OutputStream.Returns:
Admissions ::= SEQUENCE { admissionAuthority [0] EXPLICIT GeneralName OPTIONAL namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL professionInfos SEQUENCE OF ProfessionInfo }
- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- an ASN1Primitive
-