codec.x509.extensions
Class Admissions

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.ArrayList
                    |
                    +--codec.asn1.ASN1AbstractCollection
                          |
                          +--codec.asn1.ASN1Sequence
                                |
                                +--codec.x509.extensions.Admissions
All Implemented Interfaces:
ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable

public class Admissions
extends ASN1Sequence

Class implements the Admission ASN1 Structure as a part of the Admission Extension. Admissions ::= SEQUENCE { admissionAuthority [0] EXPLICIT GeneralName Optional namingAuthority [1] EXPLICIT NamingAuthority Optional professionInfos Sequence Of ProfessionInfo }

Author:
cval
See Also:
Serialized Form

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
Admissions()
           
 
Method Summary
 void addAdmissionAuth(GeneralName adAuth)
          adds the inner, 2.
 void addNamingAuth(NamingAuthority na)
          adds the NamingAuthorities name
 void addProfessionInfo(ASN1SequenceOf infos)
          for adding more than one ProfessionInfo.
 void addProfessionInfo(ProfessionInfo pi)
          adds a ProfessionInfo on the Sequence of the ProfessionInfos.
 String toString()
          Prints this collection.
 
Methods inherited from class codec.asn1.ASN1Sequence
getTag
 
Methods inherited from class codec.asn1.ASN1AbstractCollection
checkConstraints, decode, encode, getCollection, getConstraint, getTagClass, getValue, isExplicit, isOptional, isType, readExternal, setConstraint, setExplicit, setOptional, writeExternal
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, remove, removeAll, retainAll
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList
 

Constructor Detail

Admissions

public Admissions()
Method Detail

addProfessionInfo

public void addProfessionInfo(ProfessionInfo pi)
adds a ProfessionInfo on the Sequence of the ProfessionInfos. Use it only if you want to add only ONE ProfessionInfo. else the structure will be set multiple !!!

addProfessionInfo

public void addProfessionInfo(ASN1SequenceOf infos)
for adding more than one ProfessionInfo.

addAdmissionAuth

public void addAdmissionAuth(GeneralName adAuth)
adds the inner, 2. AdmissionAuthorities name

addNamingAuth

public void addNamingAuth(NamingAuthority na)
adds the NamingAuthorities name

toString

public String toString()
Description copied from class: ASN1AbstractCollection
Prints this collection. This default implementation derives a descriptive name from the name of the fully qualified name of this class (or that of the respective subclass). The last component of the class name is extracted and a prefix of "ASN1" is removed from it. Then the elements contained in this collection are printed.
Overrides:
toString in class ASN1AbstractCollection
Following copied from class: codec.asn1.ASN1AbstractCollection
Returns:
The string representation of this ASN.1 collection.


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.