An EC private key.
the curve of the key.
the private value of the key.
The public part of the key.
Creates a CoseKey object for the key.
Encodes the private key as a JSON Web Key according to RFC 7517.
Encode this key in PEM format