Package xades4j.utils

Interface TimeStampDigestInputFactory


public interface TimeStampDigestInputFactory
Factory for builders of timestamp inputs.

This factory is intended for use on internal components and may be subject to changes.

Author:
Luís
  • Method Details

    • newTimeStampDigestInput

      TimeStampDigestInput newTimeStampDigestInput(Algorithm c14n) throws UnsupportedAlgorithmException
      Creates a new builder of timestamp inputs that uses the specified canonicalization algorithms. The returned builders are not thread-safe but that shouldn't be a problem
      Parameters:
      c14n - the canonicalization method to be used by the timestamp input when adding XML node-sets
      Returns:
      the timestamp input builder
      Throws:
      UnsupportedAlgorithmException - if c14n is not recognized
      See Also: