Class GeneralNames
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.util.Encodable
public class GeneralNames extends ASN1Object
-
-
Field Summary
Fields Modifier and Type Field Description public final Array<GeneralName>
names
-
Constructor Summary
Constructors Constructor Description GeneralNames(GeneralName name)
Construct a GeneralNames object containing one GeneralName. GeneralNames(Array<GeneralName> names)
-
Method Summary
Modifier and Type Method Description Array<GeneralName>
getNames()
static GeneralNames
getInstance(Object obj)
static GeneralNames
getInstance(ASN1TaggedObject obj, boolean explicit)
static GeneralNames
fromExtensions(Extensions extensions, ASN1ObjectIdentifier extOID)
ASN1Primitive
toASN1Primitive()
Produce an object suitable for an ASN1OutputStream. String
toString()
-
-
Constructor Detail
-
GeneralNames
GeneralNames(GeneralName name)
Construct a GeneralNames object containing one GeneralName.- Parameters:
name
- the name to be contained.
-
GeneralNames
GeneralNames(Array<GeneralName> names)
-
-
Method Detail
-
getNames
Array<GeneralName> getNames()
-
getInstance
static GeneralNames getInstance(Object obj)
-
getInstance
static GeneralNames getInstance(ASN1TaggedObject obj, boolean explicit)
-
fromExtensions
static GeneralNames fromExtensions(Extensions extensions, ASN1ObjectIdentifier extOID)
-
toASN1Primitive
ASN1Primitive toASN1Primitive()
Produce an object suitable for an ASN1OutputStream.
GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
-
-
-
-