enum SignatureScheme [src]
Fields
rsa_pkcs1_sha256 = 0x0401
rsa_pkcs1_sha384 = 0x0501
rsa_pkcs1_sha512 = 0x0601
ecdsa_secp256r1_sha256 = 0x0403
ecdsa_secp384r1_sha384 = 0x0503
ecdsa_secp521r1_sha512 = 0x0603
rsa_pss_rsae_sha256 = 0x0804
rsa_pss_rsae_sha384 = 0x0805
rsa_pss_rsae_sha512 = 0x0806
ed25519 = 0x0807
ed448 = 0x0808
rsa_pss_pss_sha256 = 0x0809
rsa_pss_pss_sha384 = 0x080a
rsa_pss_pss_sha512 = 0x080b
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
_
Source
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,
_,
}