public interface

TimeStampVerificationProvider

xades4j.providers.TimeStampVerificationProvider
Known Indirect Subclasses

Class Overview

Provides verification of time-stamp tokens. This is used whenever a time-stamp property needs to be verified.

Summary

Public Methods
abstract Date verifyToken(byte[] timeStampToken, byte[] tsDigestInput)
Verifies a time-stamp token.

Public Methods

public abstract Date verifyToken (byte[] timeStampToken, byte[] tsDigestInput)

Verifies a time-stamp token. This includes verifying the digest value and the token signature, including the TSA certificate.

Parameters
timeStampToken the encoded time-stamp token
tsDigestInput the input purportedly used in time-stamp creation, calculated from the current signature
Returns
  • the time-stamp
Throws
TimeStampTokenVerificationException if the token cannot be validated (see subclasses of the exception)