codec.x509.extensions
Class NamingAuthority

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

public class NamingAuthority
extends ASN1Sequence

Author Christian Valentin

See Also:
Serialized Form

Field Summary
static String NAMING_AUTHORITY_OID
           
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
NamingAuthority()
           
 
Method Summary
 void setNamingId(String oid)
          sets the NamingAuthorityID
 void setNamingText(ASN1UTF8String text)
          sets the NamingAuthorityText
 void setNamingUrl(ASN1IA5String url)
          sets the NamingAuthorityURL
 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
 

Field Detail

NAMING_AUTHORITY_OID

public static final String NAMING_AUTHORITY_OID
Constructor Detail

NamingAuthority

public NamingAuthority()
Method Detail

setNamingId

public void setNamingId(String oid)
sets the NamingAuthorityID

setNamingUrl

public void setNamingUrl(ASN1IA5String url)
sets the NamingAuthorityURL

setNamingText

public void setNamingText(ASN1UTF8String text)
sets the NamingAuthorityText

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.