Class ReferenceIdProvider

java.lang.Object
eu.europa.esig.dss.xades.reference.ReferenceIdProvider

public class ReferenceIdProvider extends Object
This class is used to generate a deterministic reference identifier
  • Constructor Details

    • ReferenceIdProvider

      public ReferenceIdProvider()
      Default constructor
  • Method Details

    • setSignatureParameters

      public void setSignatureParameters(XAdESSignatureParameters signatureParameters)
      Sets signature parameters to build a deterministic identifier
      Parameters:
      signatureParameters - XAdESSignatureParameters
    • setReferenceIdPrefix

      public void setReferenceIdPrefix(String referenceIdPrefix)
      Sets the reference id prefix to be used on reference creation
      Parameters:
      referenceIdPrefix - String id prefix to use for references
    • getReferenceId

      public String getReferenceId()
      This method returns the following signature reference identifier
      Returns:
      String