codec.x509.extensions
Class AccessDescription

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

public class AccessDescription
extends ASN1Sequence

AccessDescription ::= SEQUENCE { accessMethod OID, accessLocation GeneralName}

Author:
cval there are no "addValue" functions, because none parameter is optional, so it must not be that one parameter is empty. the 2 constructors force either to use the default values or to set both parameters during instantiating the Object.
See Also:
Serialized Form

Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AccessDescription()
          in case of an empty conctructor default values are set.
AccessDescription(ASN1ObjectIdentifier oid, GeneralName name)
          the constructor as it should be used, with variable parameters.
 
Method Summary
 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

AccessDescription

public AccessDescription()
in case of an empty conctructor default values are set.

AccessDescription

public AccessDescription(ASN1ObjectIdentifier oid,
                         GeneralName name)
the constructor as it should be used, with variable parameters.
Method Detail

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.