Skip to content

parsePkcs12MacDataOrThrow

Throwing core for parsePkcs12MacData. When password is provided, verifies the MAC and reports the outcome in verification.

ts
function parsePkcs12MacDataOrThrow(
	der: Uint8Array,
	authenticatedSafe: Uint8Array,
	password?: string,
): Promise<ParsedPkcs12MacData>

Parameters

  • der: Uint8Array
  • authenticatedSafe: Uint8Array
  • password?: string

Released under the MIT License.