Documentation Index
Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Function: extractPrivateKeyFromPKCS8Bytes()
extractPrivateKeyFromPKCS8Bytes(Defined in: crypto.ts:310 Accepts a private key Uint8Array in the PKCS8 format, and returns the encapsulated private key.privateKey):Uint8Array
Parameters
privateKey
Uint8Array
A PKCS#8 private key structured with the key data at a specific position. The actual key starts at byte 36 and is 32 bytes long.
Returns
Uint8Array
- The private key.