Class Identifier

java.lang.Object
eu.europa.esig.dss.model.identifier.Identifier
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CertificateRefIdentifier, DataIdentifier, EntityIdentifier, MultipleDigestIdentifier, RevocationRefIdentifier, SignatureAttributeIdentifier, SignatureIdentifier

public abstract class Identifier extends Object implements Serializable
This class is used to obtain a unique id for an object
See Also:
  • Field Details

    • DIGEST_ALGO

      protected static final DigestAlgorithm DIGEST_ALGO
      The DigestAlgorithm to use
  • Constructor Details

    • Identifier

      protected Identifier(String prefix, byte[] data)
      The constructor to get an identifier computed from the binaries with a defined prefix
      Parameters:
      prefix - String to be added in the beginning of a String identifier
      data - a byte array to compute the identifier from
    • Identifier

      protected Identifier(String prefix, Digest digest)
      The constructor to get an identifier computed provided digest with a defined prefix
      Parameters:
      prefix - String to be added in the beginning of a String identifier
      digest - Digest to use for a HEX value string
  • Method Details