• D
    Add support for custom signature parameters · 786dd2c2
    Dr. Stephen Henson 提交于
    Many signature types define the digest and public key type by a single OID
    such as ecdsa_with_sha256.
    
    Some types (RSA-PSS for example) use a single OID to indicate the signature
    scheme and additional parameters are encoded in the AlgorithmIdentifier.
    
    Add an X509_SIG_INFO structure to contain details about the signature type:
    specifically the digest algorithm, public key algorithm, security bits and
    various flags. This supports both existing algorithms and more complex
    types.
    
    Add accessors for the structure and a special case that retrieves signature
    information from a certificate.
    Reviewed-by: NRichard Levitte <levitte@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/3301)
    786dd2c2
x509_set.c 5.7 KB