Class AlgorithmIdentifierBC

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

public class AlgorithmIdentifierBC extends ASN1EncodableBC implements IAlgorithmIdentifier
Wrapper class for AlgorithmIdentifier.
  • Constructor Details

    • AlgorithmIdentifierBC

      public AlgorithmIdentifierBC (org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier)
      Creates new wrapper instance for AlgorithmIdentifier.
      Parameters:
      algorithmIdentifier - AlgorithmIdentifier to be wrapped
  • Method Details

    • getAlgorithmIdentifier

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped AlgorithmIdentifier.
    • getAlgorithm

      public IASN1ObjectIdentifier getAlgorithm()
      Calls actual getAlgorithm method for the wrapped AlgorithmIdentifier object.
      Specified by:
      getAlgorithm in interface IAlgorithmIdentifier
      Returns:
      IASN1ObjectIdentifier wrapped algorithm ASN1ObjectIdentifier.
    • getParameters

      public IASN1Encodable getParameters()
      Calls actual getParameters method for the wrapped AlgorithmIdentifier object.
      Specified by:
      getParameters in interface IAlgorithmIdentifier
      Returns:
      IASN1Encodable wrapped algorithm parameters.