public class GeneralNames
extends java.lang.Object
The ASN.1 syntax for this is:
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
| Constructor and Description |
|---|
GeneralNames()
The default constructor for this class.
|
GeneralNames(com.tencent.kona.sun.security.util.DerValue derVal)
Create the GeneralNames, decoding from the passed DerValue.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralNames |
add(GeneralName name) |
void |
encode(com.tencent.kona.sun.security.util.DerOutputStream out)
Write the extension to the DerOutputStream.
|
boolean |
equals(java.lang.Object obj)
compare this GeneralNames to other object for equality
|
GeneralName |
get(int index) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Iterator<GeneralName> |
iterator() |
java.util.List<GeneralName> |
names() |
int |
size() |
java.lang.String |
toString() |
public GeneralNames(com.tencent.kona.sun.security.util.DerValue derVal)
throws java.io.IOException
derVal - the DerValue to construct the GeneralNames from.java.io.IOException - on error.public GeneralNames()
public GeneralNames add(GeneralName name)
public GeneralName get(int index)
public boolean isEmpty()
public int size()
public java.util.Iterator<GeneralName> iterator()
public java.util.List<GeneralName> names()
public void encode(com.tencent.kona.sun.security.util.DerOutputStream out)
out - the DerOutputStream to write the extension to.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object