Package org.bouncycastle.asn1.x509
Class GeneralNames
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.x509.GeneralNames
- All Implemented Interfaces:
ASN1Encodable
,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptionGeneralNames
(GeneralName name) Construct a GeneralNames object containing one GeneralName.GeneralNames
(GeneralName[] names) -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralNames
fromExtensions
(Extensions extensions, ASN1ObjectIdentifier extOID) static 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.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
GeneralNames
Construct a GeneralNames object containing one GeneralName.- Parameters:
name
- the name to be contained.
-
GeneralNames
-
-
Method Details
-
getInstance
-
getInstance
-
fromExtensions
-
getNames
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.GeneralNames ::= SEQUENCE SIZE {1..MAX} OF GeneralName
- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a primitive representation of this object.
-
toString
-