Class AlgorithmIdentifier

java.lang.Object
com.itextpdf.signatures.cms.AlgorithmIdentifier

public class AlgorithmIdentifier extends Object
This class represents algorithm identifier structure.
  • Constructor Details

    • AlgorithmIdentifier

      public AlgorithmIdentifier (String algorithmId)
      Creates an Algorithm identifier structure without parameters.
      Parameters:
      algorithmId - the Object id of the algorithm
    • AlgorithmIdentifier

      public AlgorithmIdentifier (String algorithmId, IASN1Primitive parameters)
      Creates an Algorithm identifier structure with parameters.
      Parameters:
      algorithmId - the Object id of the algorithm
      parameters - the algorithm parameters as an ASN1 structure
  • Method Details

    • getAlgorithmOid

      public String getAlgorithmOid()
      Return the OID of the algorithm.
      Returns:
      the OID of the algorithm.
    • getParameters

      public IASN1Primitive getParameters()
      Return the parameters for the algorithm.
      Returns:
      the parameters for the algorithm.