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 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

      public static Admissions getInstance(Object obj)
    • getAdmissionAuthority

      public org.bouncycastle.asn1.x509.GeneralName getAdmissionAuthority()
    • getNamingAuthority

      public NamingAuthority getNamingAuthority()
    • getProfessionInfos

      public ProfessionInfo[] 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 interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      an ASN1Primitive