org.bouncycastle.asn1.isismtt.x509
Class Admissions
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.isismtt.x509.Admissions
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class Admissions
- extends ASN1Object
An Admissions structure.
Admissions ::= SEQUENCE
{
admissionAuthority [0] EXPLICIT GeneralName OPTIONAL
namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL
professionInfos SEQUENCE OF ProfessionInfo
}
- See Also:
AdmissionSyntax
,
ProfessionInfo
,
NamingAuthority
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Admissions
public Admissions(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.
getInstance
public static Admissions getInstance(java.lang.Object obj)
getAdmissionAuthority
public GeneralName getAdmissionAuthority()
getNamingAuthority
public NamingAuthority getNamingAuthority()
getProfessionInfos
public ProfessionInfo[] getProfessionInfos()
toASN1Primitive
public 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
}
- Overrides:
toASN1Primitive
in class ASN1Object
- Returns:
- an ASN1Primitive