[][src]Function tink_signature::subtle::validate_ecdsa_params

pub fn validate_ecdsa_params(
    hash_alg: HashType,
    curve: EllipticCurveType,
    encoding: EcdsaSignatureEncoding
) -> Result<SignatureEncoding, TinkError>

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