Package org.gudy.bouncycastle.asn1.x509
Class GeneralNames
java.lang.Object
org.gudy.bouncycastle.asn1.ASN1Encodable
org.gudy.bouncycastle.asn1.x509.GeneralNames
- All Implemented Interfaces:
DEREncodable
-
Field Summary
FieldsFields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralNames
(ASN1Sequence seq) GeneralNames
(GeneralName name) Construct a GeneralNames object containing one GeneralName. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralNames
getInstance
(Object obj) static GeneralNames
getInstance
(ASN1TaggedObject obj, boolean explicit) getNames()
Produce an object suitable for an ASN1OutputStream.toString()
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
seq
ASN1Sequence seq
-
-
Constructor Details
-
GeneralNames
Construct a GeneralNames object containing one GeneralName.- Parameters:
name
- the name to be contained.
-
GeneralNames
-
-
Method Details
-
getInstance
-
getInstance
-
getNames
-
toASN1Object
Produce an object suitable for an ASN1OutputStream.GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
- Specified by:
toASN1Object
in classASN1Encodable
-
toString
-