[][src]Module tink_signature::subtle

This module provides subtle implementations of digital signature primitives.

Structs

EcdsaSigner

EcdsaSigner is an implementation of tink_core::Signer for ECDSA. At the moment, the implementation only accepts DER encoding.

EcdsaVerifier
Ed25519Signer

A Signer implementation for ED25519.

Ed25519Verifier

A tink_core::Verifier for ED25519.

Enums

EcdsaPrivateKey
EcdsaPublicKey

An ECDSA public key.

SignatureEncoding

Supported signature encodings. This is a precise subset of the protobuf enum, allowing exact matches.

Functions

element_from_padded_slice

Produce an elliptic field element from a byte slice, allowing for padding

validate_ecdsa_params

Validate ECDSA parameters. The hash's strength must not be weaker than the curve's strength. Only DER encoding is supported now.