[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.ITimeStampGenerator

Interface ITimeStampGenerator

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Defines methods used to generate time-stamp tokens. This interface is implemented by the TimeStamp class. It can also be implemented in user code to provide customized time-stamp token generation, see TimeStamp.

public interface ITimeStampGenerator

Methods

GetTimeStampToken(byte[])

Generates the time-stamp token for data specified as a byte array.

byte[] GetTimeStampToken(byte[] data)

Parameters

data byte[]

The byte array containing the data.

Returns

byte[]

The time-stamp token.

GetTimeStampToken(Stream)

Generates the time-stamp token for data specified as a stream.

byte[] GetTimeStampToken(Stream stream)

Parameters

stream System.IO.Stream

The stream containing the data.

Returns

byte[]

The time-stamp token.