public class GeneralNames extends ASN1Object
| Constructor and Description |
|---|
GeneralNames(GeneralName name)
Construct a GeneralNames object containing one GeneralName.
|
GeneralNames(GeneralName[] names) |
| Modifier and Type | Method and Description |
|---|---|
static GeneralNames |
fromExtensions(Extensions extensions,
ASN1ObjectIdentifier extOID) |
static GeneralNames |
getInstance(ASN1TaggedObject obj,
boolean explicit) |
static GeneralNames |
getInstance(java.lang.Object obj) |
GeneralName[] |
getNames() |
ASN1Primitive |
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
|
java.lang.String |
toString() |
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic GeneralNames(GeneralName name)
name - the name to be contained.public GeneralNames(GeneralName[] names)
public static GeneralNames getInstance(java.lang.Object obj)
public static GeneralNames getInstance(ASN1TaggedObject obj, boolean explicit)
public static GeneralNames fromExtensions(Extensions extensions, ASN1ObjectIdentifier extOID)
public GeneralName[] getNames()
public ASN1Primitive toASN1Primitive()
GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Objectpublic java.lang.String toString()
toString in class java.lang.Object