Skip to content

CreateOcspRequestInput

Input for createOcspRequest.

ts
interface CreateOcspRequestInput {
	readonly requests: readonly CreateOcspRequestItemInput[];
	readonly hashAlgorithm?: OcspHashAlgorithm;
	readonly nonce?: Uint8Array;
}

Properties

  • readonly requests: readonly CreateOcspRequestItemInput[] — One or more certificates to query (batched into a single OCSP request).
  • readonly hashAlgorithm?: OcspHashAlgorithm — Hash algorithm for CertID computation. Defaults to 'SHA-1'.
  • readonly nonce?: Uint8Array — Random nonce for replay protection. Omit to skip the nonce extension.

Released under the MIT License.