rsa_pkcs1_sha256 = 0x0401rsa_pkcs1_sha384 = 0x0501rsa_pkcs1_sha512 = 0x0601ecdsa_secp256r1_sha256 = 0x0403ecdsa_secp384r1_sha384 = 0x0503ecdsa_secp521r1_sha512 = 0x0603rsa_pss_rsae_sha256 = 0x0804rsa_pss_rsae_sha384 = 0x0805rsa_pss_rsae_sha512 = 0x0806ed25519 = 0x0807ed448 = 0x0808rsa_pss_pss_sha256 = 0x0809rsa_pss_pss_sha384 = 0x080arsa_pss_pss_sha512 = 0x080brsa_pkcs1_sha1 = 0x0201ecdsa_sha1 = 0x0203ecdsa_brainpoolP256r1tls13_sha256 = 0x081aecdsa_brainpoolP384r1tls13_sha384 = 0x081becdsa_brainpoolP512r1tls13_sha512 = 0x081crsa_sha224 = 0x0301dsa_sha224 = 0x0302ecdsa_sha224 = 0x0303dsa_sha256 = 0x0402dsa_sha384 = 0x0502dsa_sha512 = 0x0602_pub const SignatureScheme = enum(u16) {
// RSASSA-PKCS1-v1_5 algorithms
rsa_pkcs1_sha256 = 0x0401,
rsa_pkcs1_sha384 = 0x0501,
rsa_pkcs1_sha512 = 0x0601,
// ECDSA algorithms
ecdsa_secp256r1_sha256 = 0x0403,
ecdsa_secp384r1_sha384 = 0x0503,
ecdsa_secp521r1_sha512 = 0x0603,
// RSASSA-PSS algorithms with public key OID rsaEncryption
rsa_pss_rsae_sha256 = 0x0804,
rsa_pss_rsae_sha384 = 0x0805,
rsa_pss_rsae_sha512 = 0x0806,
// EdDSA algorithms
ed25519 = 0x0807,
ed448 = 0x0808,
// RSASSA-PSS algorithms with public key OID RSASSA-PSS
rsa_pss_pss_sha256 = 0x0809,
rsa_pss_pss_sha384 = 0x080a,
rsa_pss_pss_sha512 = 0x080b,
// Legacy algorithms
rsa_pkcs1_sha1 = 0x0201,
ecdsa_sha1 = 0x0203,
ecdsa_brainpoolP256r1tls13_sha256 = 0x081a,
ecdsa_brainpoolP384r1tls13_sha384 = 0x081b,
ecdsa_brainpoolP512r1tls13_sha512 = 0x081c,
rsa_sha224 = 0x0301,
dsa_sha224 = 0x0302,
ecdsa_sha224 = 0x0303,
dsa_sha256 = 0x0402,
dsa_sha384 = 0x0502,
dsa_sha512 = 0x0602,
_,
}