Module tink_signature::subtle
source · Expand description
This module provides subtle implementations of digital signature primitives.
Structs
EcdsaSigner
is an implementation oftink_core::Signer
for ECDSA. At the moment, the implementation only accepts DER encoding.EcdsaVerifier
is an implementation oftink_core::Verifier
for ECDSA. At the moment, the implementation only accepts signatures with strict DER encoding.- A
Signer
implementation for ED25519. - A
tink_core::Verifier
for ED25519.
Enums
- An ECDSA private key.
- An ECDSA public key.
- Supported signature encodings. This is a precise subset of the protobuf enum, allowing exact
match
es.
Functions
- Produce an elliptic field element from a byte slice, allowing for padding
- Validate ECDSA parameters. The hash’s strength must not be weaker than the curve’s strength. DER and IEEE_P1363 encodings are supported.