com.ibm.security12.sun.security.x509
Class GeneralNames

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--com.ibm.security12.sun.security.x509.GeneralNames

public class GeneralNames
extends Vector

This object class represents the GeneralNames type required in X509 certificates.

The ASN.1 syntax for this is:

 GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
 

Version:
1.9
Author:
Amit Kapoor, Hemma Prafullchandra
See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GeneralNames()
          The default constructor for this class.
GeneralNames(DerValue derVal)
          Create the GeneralNames, decoding from the passed DerValue.
 
Method Summary
 void encode(DerOutputStream out)
          Write the extension to the DerOutputStream.
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralNames

public GeneralNames(DerValue derVal)
             throws IOException,
                    GeneralNamesException
Create the GeneralNames, decoding from the passed DerValue.
Parameters:
derVal - the DerValue to construct the GeneralNames from.
Throws:
GeneralNamesException - on decoding error.
IOException - on error.

GeneralNames

public GeneralNames()
The default constructor for this class.
Method Detail

encode

public void encode(DerOutputStream out)
            throws IOException,
                   GeneralNamesException
Write the extension to the DerOutputStream.
Parameters:
out - the DerOutputStream to write the extension to.
Throws:
GeneralNamesException - on encoding error.
IOException - on error.