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
Constructor Summary |
GeneralNames()
The default constructor for this class. |
GeneralNames(DerValue derVal)
Create the GeneralNames, decoding from the passed DerValue. |
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 |
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.
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.