Class Admissions

    • Constructor Detail

      • 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.
    • Method Detail

      • getInstance

        public static Admissions getInstance​(java.lang.Object obj)
      • getAdmissionAuthority

        public GeneralName getAdmissionAuthority()
      • 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
               }
         
        Specified by:
        toASN1Primitive in interface ASN1Encodable
        Specified by:
        toASN1Primitive in class ASN1Object
        Returns:
        an ASN1Primitive