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 for GeneralNames.
  • Constructor Details

    • GeneralNamesBC

      public GeneralNamesBC (org.bouncycastle.asn1.x509.GeneralNames generalNames)
      Creates new wrapper instance for GeneralNames.
      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

      public IGeneralName[] getNames()
      Calls actual getNames method for the wrapped GeneralNames object.
      Specified by:
      getNames in interface IGeneralNames
      Returns:
      array of wrapped names IGeneralName.