Class GeneralNamesBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.GeneralNamesBC
- All Implemented Interfaces:
-
IASN1Encodable
,IGeneralNames
Wrapper class for
GeneralNames
.
-
Constructor Summary
ConstructorDescriptionGeneralNamesBC
(org.bouncycastle.asn1.x509.GeneralNames generalNames) Creates new wrapper instance forGeneralNames
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.GeneralNames
Gets actual org.bouncycastle object being wrapped.getNames()
Calls actualgetNames
method for the wrapped GeneralNames object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
GeneralNamesBC
public GeneralNamesBC(org.bouncycastle.asn1.x509.GeneralNames generalNames) Creates new wrapper instance forGeneralNames
.- Parameters:
-
generalNames
-GeneralNames
to be wrapped
-
-
Method Details
-
getGeneralNames
public org.bouncycastle.asn1.x509.GeneralNames getGeneralNames()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
GeneralNames
.
-
getNames
Calls actualgetNames
method for the wrapped GeneralNames object.- Specified by:
-
getNames
in interfaceIGeneralNames
- Returns:
-
array of wrapped names
IGeneralName
.
-