diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Security/Cryptography/Core/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Security/Cryptography/Core/mod.rs | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Security/Cryptography/Core/mod.rs b/vendor/windows-sys/src/Windows/Security/Cryptography/Core/mod.rs new file mode 100644 index 000000000..84e30e7c8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Security/Cryptography/Core/mod.rs @@ -0,0 +1,69 @@ +pub type AsymmetricKeyAlgorithmProvider = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] +#[repr(transparent)] +pub struct Capi1KdfTargetAlgorithm(pub i32); +impl Capi1KdfTargetAlgorithm { + pub const NotAes: Self = Self(0i32); + pub const Aes: Self = Self(1i32); +} +impl ::core::marker::Copy for Capi1KdfTargetAlgorithm {} +impl ::core::clone::Clone for Capi1KdfTargetAlgorithm { + fn clone(&self) -> Self { + *self + } +} +pub type CryptographicHash = *mut ::core::ffi::c_void; +pub type CryptographicKey = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] +#[repr(transparent)] +pub struct CryptographicPadding(pub i32); +impl CryptographicPadding { + pub const None: Self = Self(0i32); + pub const RsaOaep: Self = Self(1i32); + pub const RsaPkcs1V15: Self = Self(2i32); + pub const RsaPss: Self = Self(3i32); +} +impl ::core::marker::Copy for CryptographicPadding {} +impl ::core::clone::Clone for CryptographicPadding { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] +#[repr(transparent)] +pub struct CryptographicPrivateKeyBlobType(pub i32); +impl CryptographicPrivateKeyBlobType { + pub const Pkcs8RawPrivateKeyInfo: Self = Self(0i32); + pub const Pkcs1RsaPrivateKey: Self = Self(1i32); + pub const BCryptPrivateKey: Self = Self(2i32); + pub const Capi1PrivateKey: Self = Self(3i32); + pub const BCryptEccFullPrivateKey: Self = Self(4i32); +} +impl ::core::marker::Copy for CryptographicPrivateKeyBlobType {} +impl ::core::clone::Clone for CryptographicPrivateKeyBlobType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] +#[repr(transparent)] +pub struct CryptographicPublicKeyBlobType(pub i32); +impl CryptographicPublicKeyBlobType { + pub const X509SubjectPublicKeyInfo: Self = Self(0i32); + pub const Pkcs1RsaPublicKey: Self = Self(1i32); + pub const BCryptPublicKey: Self = Self(2i32); + pub const Capi1PublicKey: Self = Self(3i32); + pub const BCryptEccFullPublicKey: Self = Self(4i32); +} +impl ::core::marker::Copy for CryptographicPublicKeyBlobType {} +impl ::core::clone::Clone for CryptographicPublicKeyBlobType { + fn clone(&self) -> Self { + *self + } +} +pub type EncryptedAndAuthenticatedData = *mut ::core::ffi::c_void; +pub type HashAlgorithmProvider = *mut ::core::ffi::c_void; +pub type KeyDerivationAlgorithmProvider = *mut ::core::ffi::c_void; +pub type KeyDerivationParameters = *mut ::core::ffi::c_void; +pub type MacAlgorithmProvider = *mut ::core::ffi::c_void; +pub type SymmetricKeyAlgorithmProvider = *mut ::core::ffi::c_void; |