summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Certificates/mod.rs139
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Core/mod.rs68
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/DataProtection/mod.rs4
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/mod.rs22
4 files changed, 0 insertions, 233 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Certificates/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Certificates/mod.rs
deleted file mode 100644
index 723c0c67a..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Certificates/mod.rs
+++ /dev/null
@@ -1,139 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[link(name = "windows")]
-extern "system" {}
-pub type Certificate = *mut ::core::ffi::c_void;
-pub type CertificateChain = *mut ::core::ffi::c_void;
-#[repr(transparent)]
-pub struct CertificateChainPolicy(pub i32);
-impl CertificateChainPolicy {
- pub const Base: Self = Self(0i32);
- pub const Ssl: Self = Self(1i32);
- pub const NTAuthentication: Self = Self(2i32);
- pub const MicrosoftRoot: Self = Self(3i32);
-}
-impl ::core::marker::Copy for CertificateChainPolicy {}
-impl ::core::clone::Clone for CertificateChainPolicy {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type CertificateExtension = *mut ::core::ffi::c_void;
-pub type CertificateKeyUsages = *mut ::core::ffi::c_void;
-pub type CertificateQuery = *mut ::core::ffi::c_void;
-pub type CertificateRequestProperties = *mut ::core::ffi::c_void;
-pub type CertificateStore = *mut ::core::ffi::c_void;
-pub type ChainBuildingParameters = *mut ::core::ffi::c_void;
-pub type ChainValidationParameters = *mut ::core::ffi::c_void;
-#[repr(transparent)]
-pub struct ChainValidationResult(pub i32);
-impl ChainValidationResult {
- pub const Success: Self = Self(0i32);
- pub const Untrusted: Self = Self(1i32);
- pub const Revoked: Self = Self(2i32);
- pub const Expired: Self = Self(3i32);
- pub const IncompleteChain: Self = Self(4i32);
- pub const InvalidSignature: Self = Self(5i32);
- pub const WrongUsage: Self = Self(6i32);
- pub const InvalidName: Self = Self(7i32);
- pub const InvalidCertificateAuthorityPolicy: Self = Self(8i32);
- pub const BasicConstraintsError: Self = Self(9i32);
- pub const UnknownCriticalExtension: Self = Self(10i32);
- pub const RevocationInformationMissing: Self = Self(11i32);
- pub const RevocationFailure: Self = Self(12i32);
- pub const OtherErrors: Self = Self(13i32);
-}
-impl ::core::marker::Copy for ChainValidationResult {}
-impl ::core::clone::Clone for ChainValidationResult {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type CmsAttachedSignature = *mut ::core::ffi::c_void;
-pub type CmsDetachedSignature = *mut ::core::ffi::c_void;
-pub type CmsSignerInfo = *mut ::core::ffi::c_void;
-pub type CmsTimestampInfo = *mut ::core::ffi::c_void;
-#[repr(transparent)]
-pub struct EnrollKeyUsages(pub u32);
-impl EnrollKeyUsages {
- pub const None: Self = Self(0u32);
- pub const Decryption: Self = Self(1u32);
- pub const Signing: Self = Self(2u32);
- pub const KeyAgreement: Self = Self(4u32);
- pub const All: Self = Self(16777215u32);
-}
-impl ::core::marker::Copy for EnrollKeyUsages {}
-impl ::core::clone::Clone for EnrollKeyUsages {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(transparent)]
-pub struct ExportOption(pub i32);
-impl ExportOption {
- pub const NotExportable: Self = Self(0i32);
- pub const Exportable: Self = Self(1i32);
-}
-impl ::core::marker::Copy for ExportOption {}
-impl ::core::clone::Clone for ExportOption {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(transparent)]
-pub struct InstallOptions(pub u32);
-impl InstallOptions {
- pub const None: Self = Self(0u32);
- pub const DeleteExpired: Self = Self(1u32);
-}
-impl ::core::marker::Copy for InstallOptions {}
-impl ::core::clone::Clone for InstallOptions {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(transparent)]
-pub struct KeyProtectionLevel(pub i32);
-impl KeyProtectionLevel {
- pub const NoConsent: Self = Self(0i32);
- pub const ConsentOnly: Self = Self(1i32);
- pub const ConsentWithPassword: Self = Self(2i32);
- pub const ConsentWithFingerprint: Self = Self(3i32);
-}
-impl ::core::marker::Copy for KeyProtectionLevel {}
-impl ::core::clone::Clone for KeyProtectionLevel {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(transparent)]
-pub struct KeySize(pub i32);
-impl KeySize {
- pub const Invalid: Self = Self(0i32);
- pub const Rsa2048: Self = Self(2048i32);
- pub const Rsa4096: Self = Self(4096i32);
-}
-impl ::core::marker::Copy for KeySize {}
-impl ::core::clone::Clone for KeySize {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type PfxImportParameters = *mut ::core::ffi::c_void;
-#[repr(transparent)]
-pub struct SignatureValidationResult(pub i32);
-impl SignatureValidationResult {
- pub const Success: Self = Self(0i32);
- pub const InvalidParameter: Self = Self(1i32);
- pub const BadMessage: Self = Self(2i32);
- pub const InvalidSignature: Self = Self(3i32);
- pub const OtherErrors: Self = Self(4i32);
-}
-impl ::core::marker::Copy for SignatureValidationResult {}
-impl ::core::clone::Clone for SignatureValidationResult {
- fn clone(&self) -> Self {
- *self
- }
-}
-pub type SubjectAlternativeNameInfo = *mut ::core::ffi::c_void;
-pub type UserCertificateEnrollmentManager = *mut ::core::ffi::c_void;
-pub type UserCertificateStore = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Core/mod.rs
deleted file mode 100644
index 1375a4ef0..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/Core/mod.rs
+++ /dev/null
@@ -1,68 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[link(name = "windows")]
-extern "system" {}
-pub type AsymmetricKeyAlgorithmProvider = *mut ::core::ffi::c_void;
-#[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;
-#[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
- }
-}
-#[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
- }
-}
-#[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;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/DataProtection/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/DataProtection/mod.rs
deleted file mode 100644
index edb6a940f..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/DataProtection/mod.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[link(name = "windows")]
-extern "system" {}
-pub type DataProtectionProvider = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/mod.rs
deleted file mode 100644
index 25c702487..000000000
--- a/vendor/windows-sys-0.28.0/src/Windows/Security/Cryptography/mod.rs
+++ /dev/null
@@ -1,22 +0,0 @@
-#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
-#[cfg(feature = "Security_Cryptography_Certificates")]
-pub mod Certificates;
-#[cfg(feature = "Security_Cryptography_Core")]
-pub mod Core;
-#[cfg(feature = "Security_Cryptography_DataProtection")]
-pub mod DataProtection;
-#[link(name = "windows")]
-extern "system" {}
-#[repr(transparent)]
-pub struct BinaryStringEncoding(pub i32);
-impl BinaryStringEncoding {
- pub const Utf8: Self = Self(0i32);
- pub const Utf16LE: Self = Self(1i32);
- pub const Utf16BE: Self = Self(2i32);
-}
-impl ::core::marker::Copy for BinaryStringEncoding {}
-impl ::core::clone::Clone for BinaryStringEncoding {
- fn clone(&self) -> Self {
- *self
- }
-}