Interface TSPSource

    • Method Summary

      Modifier and Type Method Description
      org.bouncycastle.tsp.TimeStampToken getTimeStampResponse​(DigestAlgorithm digestAlgorithm, byte[] digest)
      Gets a TimeStampResponse relevant to the provided digest
    • Method Detail

      • getTimeStampResponse

        org.bouncycastle.tsp.TimeStampToken getTimeStampResponse​(DigestAlgorithm digestAlgorithm,
                                                                 byte[] digest)
                                                          throws DSSException
        Gets a TimeStampResponse relevant to the provided digest
        Parameters:
        digestAlgorithm - the used digest algorithm
        digest - the computed digest to be timestamped
        Returns:
        a signed timestamp token
        Throws:
        DSSException - if any error occurred