#[non_exhaustive]#[repr(u32)]pub enum Algorithm {
Show 33 variants
Aes = 26_129,
Aes128 = 26_126,
Aes192 = 26_127,
Aes256 = 26_128,
AgreedkeyAny = 43_523,
CylinkMek = 26_124,
Des = 26_113,
Desx = 26_116,
DhEphem = 43_522,
DhSf = 43_521,
DssSign = 8_704,
Ecdh = 43_525,
EcdhEphem = 44_550,
Ecdsa = 8_707,
HashReplaceOwf = 32_779,
HughesMd5 = 40_963,
Hmac = 32_777,
Mac = 32_773,
Md2 = 32_769,
Md4 = 32_770,
Md5 = 32_771,
NoSign = 8_192,
Rc2 = 26_114,
Rc4 = 26_625,
Rc5 = 26_125,
RsaKeyx = 41_984,
RsaSign = 9_216,
Sha1 = 32_772,
Sha256 = 32_780,
Sha384 = 32_781,
Sha512 = 32_782,
TripleDes = 26_115,
TripleDes112 = 26_121,
}
Expand description
Algorithms supported by Schannel.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Aes = 26_129
Advanced Encryption Standard (AES).
Aes128 = 26_126
128 bit AES.
Aes192 = 26_127
192 bit AES.
Aes256 = 26_128
256 bit AES.
AgreedkeyAny = 43_523
Temporary algorithm identifier for handles of Diffie-Hellman–agreed keys.
CylinkMek = 26_124
An algorithm to create a 40-bit DES key that has parity bits and zeroed key bits to make its key length 64 bits.
Des = 26_113
DES encryption algorithm.
Desx = 26_116
DESX encryption algorithm.
DhEphem = 43_522
Diffie-Hellman ephemeral key exchange algorithm.
DhSf = 43_521
Diffie-Hellman store and forward key exchange algorithm.
DssSign = 8_704
DSA public key signature algorithm.
Ecdh = 43_525
Elliptic curve Diffie-Hellman key exchange algorithm.
EcdhEphem = 44_550
Ephemeral elliptic curve Diffie-Hellman key exchange algorithm.
Ecdsa = 8_707
Elliptic curve digital signature algorithm.
HashReplaceOwf = 32_779
One way function hashing algorithm.
HughesMd5 = 40_963
Hughes MD5 hashing algorithm.
Hmac = 32_777
HMAC keyed hash algorithm.
Mac = 32_773
MAC keyed hash algorithm.
Md2 = 32_769
MD2 hashing algorithm.
Md4 = 32_770
MD4 hashing algorithm.
Md5 = 32_771
MD5 hashing algorithm.
NoSign = 8_192
No signature algorithm..
Rc2 = 26_114
RC2 block encryption algorithm.
Rc4 = 26_625
RC4 stream encryption algorithm.
Rc5 = 26_125
RC5 block encryption algorithm.
RsaKeyx = 41_984
RSA public key exchange algorithm.
RsaSign = 9_216
RSA public key signature algorithm.
Sha1 = 32_772
SHA hashing algorithm.
Sha256 = 32_780
256 bit SHA hashing algorithm.
Sha384 = 32_781
384 bit SHA hashing algorithm.
Sha512 = 32_782
512 bit SHA hashing algorithm.
TripleDes = 26_115
Triple DES encryption algorithm.
TripleDes112 = 26_121
Two-key triple DES encryption with effective key length equal to 112 bits.