# TimeStampParams

## Content

# Type Alias: TimeStampParams

```ts
type TimeStampParams = object;
```

Represents parameters shared across the stages of the document timestamping process:

1. **Preparation stage** — validates input parameters and performs necessary initialization.
   Implemented by [TimeStampProviderBase.getTimeStampParams](../interfaces/TimeStampProviderBase#gettimestampparams). This stage throws
   an error if parameters are invalid or incompatible.

2. **Signature generation stage** — builds the final PKCS#7 signature container.
   Implemented by [TimeStampProviderBase.buildTimeStampToken](../interfaces/TimeStampProviderBase#buildtimestamptoken).

An instance of TimeStampParams is used to pass data between these stages and may
also carry additional custom data required during signing.

## Indexable

```ts
[key: string]: any
```

Additional custom properties used to transfer data between
timestamping stages or extend the timestamping workflow.

## Properties

### hashAlgorithmOID

```ts
hashAlgorithmOID: string;
```

The object identifier (OID) of hash algorithm used to compute the message digest
for the timestamp.
