Expand description
Implementations of the Signer and Verifier primitives.
To sign data using Tink you can use ECDSA or ED25519 key templates.
Modules§
- subtle
- This module provides subtle implementations of digital signature primitives.
Constants§
- ECDSA_
SIGNER_ KEY_ VERSION - Maximal version of ECDSA keys.
- ECDSA_
SIGNER_ TYPE_ URL - Type URL of ECDSA keys that Tink supports.
- ECDSA_
UNCOMPRESSED_ POINT_ PREFIX - Prefix for uncompressed elliptic curve points.
- ECDSA_
VERIFIER_ KEY_ VERSION - Maximal version of ECDSA keys.
- ECDSA_
VERIFIER_ TYPE_ URL - Type URL of ECDSA keys that Tink supports.
- ED25519_
SIGNER_ KEY_ VERSION - Maximal version of ED25519 keys.
- ED25519_
SIGNER_ TYPE_ URL - Type URL of ED25519 keys that Tink supports.
- ED25519_
VERIFIER_ KEY_ VERSION - Maximal version of ED25519 keys.
- ED25519_
VERIFIER_ TYPE_ URL - Type URL of ED25519 keys that Tink supports.
- UPSTREAM_
VERSION - The upstream Tink version that this Rust port is based on.
Functions§
- ecdsa_
p256_ key_ p1363_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p256_ key_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p256_ key_ without_ prefix_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p256_ raw_ key_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p384_ key_ template Deprecated - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p384_ key_ without_ prefix_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p384_ sha384_ key_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p384_ sha512_ key_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p521_ key_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ecdsa_
p521_ key_ without_ prefix_ template - Return a
KeyTemplate
that generates a new ECDSA private key with the following parameters: - ed25519_
key_ template - Return a
KeyTemplate
that generates a new ED25519 private key. - ed25519_
key_ without_ prefix_ template - Return a
KeyTemplate
that generates a new ED25519 private key. - init
- Initialize the
tink-signature
crate, registering its primitives so they are available via Tink. - new_
signer - Return a
tink_core::Signer
primitive from the given keyset handle. - new_
verifier - Return a
tink_core::Verifier
primitive from the given keyset handle.