fn ecdsa_to_public_key(
created_at: DateTime<Utc>,
key: EcdsaPublicParams,
) -> Result<PublicKey, Error>
Expand description
Creates a [PublicKey
] object from ECDSA parameters.
Takes a created_at
date and ECDSA key
parameters.
ยงErrors
Returns an error if
- the ECDSA algorithm is unsupported by rPGP,
- or the calculated packet length is invalid.