Skip to content

validateForTlsClient

Validates a certificate chain for TLS client use: chain verification + clientAuth EKU (leaf + intermediate propagation).

ts
function validateForTlsClient(
	input: ValidateForTlsClientInput,
): Promise<VerifyChainResult>

Parameters

Examples

ts
import { validateForTlsClient } from 'micro509';

const result = await validateForTlsClient({
  leaf: clientCertPem,
  roots: [rootCaPem],
});

Released under the MIT License.