org.bouncycastle.asn1.x509

Class GeneralNames

public class GeneralNames extends ASN1Encodable

Constructor Summary
GeneralNames(GeneralName name)
Construct a GeneralNames object containing one GeneralName.
GeneralNames(ASN1Sequence seq)
Method Summary
static GeneralNamesgetInstance(Object obj)
static GeneralNamesgetInstance(ASN1TaggedObject obj, boolean explicit)
GeneralName[]getNames()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.
StringtoString()

Constructor Detail

GeneralNames

public GeneralNames(GeneralName name)
Construct a GeneralNames object containing one GeneralName.

Parameters: name the name to be contained.

GeneralNames

public GeneralNames(ASN1Sequence seq)

Method Detail

getInstance

public static GeneralNames getInstance(Object obj)

getInstance

public static GeneralNames getInstance(ASN1TaggedObject obj, boolean explicit)

getNames

public GeneralName[] getNames()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
 

toString

public String toString()