Class GeneralNamesBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.GeneralNamesBC
-
- All Implemented Interfaces:
IASN1Encodable
,IGeneralNames
public class GeneralNamesBC extends ASN1EncodableBC implements IGeneralNames
Wrapper class forGeneralNames
.
-
-
Constructor Summary
Constructors Constructor Description GeneralNamesBC(org.bouncycastle.asn1.x509.GeneralNames generalNames)
Creates new wrapper instance forGeneralNames
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.GeneralNames
getGeneralNames()
Gets actual org.bouncycastle object being wrapped.IGeneralName[]
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
-
-
-
-
Method Detail
-
getGeneralNames
public org.bouncycastle.asn1.x509.GeneralNames getGeneralNames()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
GeneralNames
.
-
getNames
public IGeneralName[] getNames()
Calls actualgetNames
method for the wrapped GeneralNames object.- Specified by:
getNames
in interfaceIGeneralNames
- Returns:
- array of wrapped names
IGeneralName
.
-
-