SealPrivateKey
class SealPrivateKey
A recipient's private key: it opens what was sealed to its publicKey.
generate makes one; encodePkcs8 writes it as standard PKCS #8 that carries its public key, and decodePkcs8 reads that back on any platform — or a key made elsewhere, such as by openssl ecparam -name prime256v1 -genkey | openssl pkcs8 -topk8 -nocrypt -outform DER. toString never prints key material.