blob: 84e30e7c8f5b10aa04adb5e08aa0add676a314f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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;
|