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.