Function tink_signature::ecdsa_p256_key_template
source · pub fn ecdsa_p256_key_template() -> KeyTemplate
Expand description
Return a KeyTemplate
that generates a new ECDSA private key with the following parameters:
- Hash function: SHA256
- Curve: NIST P-256
- Signature encoding: DER
- Output prefix type: TINK
Note that this template uses a different encoding than ESDSA_P256_RAW in Tinkey /
rinkey
.