Class GeneralNameBC

java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.GeneralNameBC
All Implemented Interfaces:
IASN1Encodable, IGeneralName

public class GeneralNameBC extends ASN1EncodableBC implements IGeneralName
Wrapper class for GeneralName.
  • Constructor Details

    • GeneralNameBC

      public GeneralNameBC (org.bouncycastle.asn1.x509.GeneralName generalName)
      Creates new wrapper instance for GeneralName.
      Parameters:
      generalName - GeneralName to be wrapped
  • Method Details

    • getInstance

      public static GeneralNameBC getInstance()
      Gets wrapper instance.
      Returns:
      GeneralNameBC instance.
    • getGeneralName

      public org.bouncycastle.asn1.x509.GeneralName getGeneralName()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped GeneralName.
    • getTagNo

      public int getTagNo()
      Calls actual getTagNo method for the wrapped GeneralName object.
      Specified by:
      getTagNo in interface IGeneralName
      Returns:
      tagNo value.
    • getUniformResourceIdentifier

      public int getUniformResourceIdentifier()
      Gets uniformResourceIdentifier constant for the wrapped GeneralName.
      Specified by:
      getUniformResourceIdentifier in interface IGeneralName
      Returns:
      GeneralName.uniformResourceIdentifier value.