Skip to content

importPrivateKeyPem ​

importPrivateKeyPem ​

Result-returning counterpart of importPrivateKeyPemOrThrow.

ts
function importPrivateKeyPem(
	pem: string,
	algorithm?: PrivateKeyImportInput,
): Promise<ImportKeyResult<CryptoKey>>

Parameters

Released under the MIT License.