Home | History | Annotate | Download | only in crypto

Lines Matching defs:key

22 // Encapsulates an elliptic curve (EC) private key. Can be used to generate new
23 // keys, export keys to other formats, or to extract a public key.
25 // (The difference in types of key() and public_key() make this a little
32 // The created key will use the NIST P-256 curve.
36 // Create a new instance by importing an existing private key. The format is
42 // Creates a new instance by importing an existing key pair.
43 // The key pair is given as an ASN.1-encoded PKCS #8 EncryptedPrivateKeyInfo
56 EVP_PKEY* key() { return key_.get(); }
58 // Exports the private key to a PKCS #8 PrivateKeyInfo block.
61 // Exports the private key as an ASN.1-encoded PKCS #8 EncryptedPrivateKeyInfo
69 // Exports the public key to an X.509 SubjectPublicKeyInfo block.
72 // Exports the public key as an EC point in the uncompressed point format.