codec.x509.extensions
Class AdmissionExtension
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--codec.asn1.ASN1AbstractCollection
|
+--codec.asn1.ASN1Sequence
|
+--codec.x509.X509Extension
|
+--codec.x509.extensions.AdmissionExtension
- All Implemented Interfaces:
- ASN1Collection, ASN1Type, Cloneable, Collection, Externalizable, List, Serializable, X509Extension
- public class AdmissionExtension
- extends X509Extension
Class (in combination with other classes) implements the Admission Extension
of the ISIS MTT SigG_Core_Spec_V_1_0_2.
id-isismtt-at-admission OBJECT IDENTIFIER ::= {id-isismtt-at 3}
id-isismtt-at-namingAuthorities OBJECT IDENTIFIER ::= {id-isismtt-at 11}
AdmissionSyntax ::= SEQUENCE { admissionAuthority GeneralName OPTIONAL,
contentsOfAdmissions SEQUENCE OF Admissions }
Admissions ::= SEQUENCE { admissionAuthority [0] EXPLICIT GeneralName
OPTIONAL, namingAuthority [1] EXPLICIT NamingAuthority OPTIONAL,
professionInfos SEQUENCE OF ProfessionInfo }
NamingAuthority ::= SEQUENCE { namingAuthorityId OBJECT IDENTIFIER OPTIONAL,
namingAuthorityUrl IA5String OPTIONAL, namingAuthorityText
DirectoryString(SIZE(1..128)) OPTIONAL}
ProfessionInfo ::= SEQUENCE { namingAuthority [0] EXPLICIT NamingAuthority
OPTIONAL, professionItems SEQUENCE OF DirectoryString (SIZE(1..128)),
professionOIDs SEQUENCE OF OBJECT IDENTIFIER OPTIONAL, registrationNumber
PrintableString(SIZE(1..128)) OPTIONAL, addProfessionInfo OCTET STRING
OPTIONAL }
- Author:
- Christian Valentin
- See Also:
- Serialized Form
| Methods inherited from class codec.x509.X509Extension |
decodeExtensionValue, getCriticalExtensionOIDs, getEncoded, getExtensionValue, getNonCriticalExtensionOIDs, getOID, getValue, hasUnsupportedCriticalExtension, isCritical, setCritical, setOID, setValue, toString |
| Methods inherited from class codec.asn1.ASN1AbstractCollection |
checkConstraints, encode, getCollection, getConstraint, getTagClass, 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 interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
EXTENSION_OID
public static final String EXTENSION_OID
- OID : id-isismtt-at 3
AdmissionExtension
public AdmissionExtension(GeneralName adAuth)
- constructor, using the Generalname of the first Admissionauthority as
Parameter.
AdmissionExtension
public AdmissionExtension(ASN1Sequence ad)
- constructor, using an Admission as Parameter
addAdmission
public void addAdmission(ASN1Sequence admissions_)
- adds the Sequence holding the Admissions to the extension
decode
public void decode(Decoder dec)
throws ASN1Exception,
IOException
- Description copied from class:
ASN1AbstractCollection
- Reads this collection from the given
Decoder. This type
is initialized with the decoded data. The components of the decoded
collection must match the components of this collection. If they do then
the components are also initialized with the decoded values. Otherwise an
exception is thrown.
- Overrides:
decode in class ASN1AbstractCollection
- Following copied from class:
codec.asn1.ASN1AbstractCollection
- Parameters:
dec - The decoder to read from.
toString
public String toString()
- Description copied from class:
X509Extension
- Returns a human-readable String representation of this extension
- Overrides:
toString in class X509Extension
- Following copied from class:
codec.asn1.ASN1AbstractCollection
- Returns:
- The string representation of this ASN.1 collection.
Copyright © Fraunhofer Gesellschaft. All Rights Reserved.