]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | pub type AsymmetricKeyAlgorithmProvider = *mut ::core::ffi::c_void; |
04454e1e | 2 | #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct Capi1KdfTargetAlgorithm(pub i32); | |
5 | impl Capi1KdfTargetAlgorithm { | |
6 | pub const NotAes: Self = Self(0i32); | |
7 | pub const Aes: Self = Self(1i32); | |
8 | } | |
9 | impl ::core::marker::Copy for Capi1KdfTargetAlgorithm {} | |
10 | impl ::core::clone::Clone for Capi1KdfTargetAlgorithm { | |
11 | fn clone(&self) -> Self { | |
12 | *self | |
13 | } | |
14 | } | |
15 | pub type CryptographicHash = *mut ::core::ffi::c_void; | |
16 | pub type CryptographicKey = *mut ::core::ffi::c_void; | |
04454e1e | 17 | #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] |
5e7ed085 FG |
18 | #[repr(transparent)] |
19 | pub struct CryptographicPadding(pub i32); | |
20 | impl CryptographicPadding { | |
21 | pub const None: Self = Self(0i32); | |
22 | pub const RsaOaep: Self = Self(1i32); | |
23 | pub const RsaPkcs1V15: Self = Self(2i32); | |
24 | pub const RsaPss: Self = Self(3i32); | |
25 | } | |
26 | impl ::core::marker::Copy for CryptographicPadding {} | |
27 | impl ::core::clone::Clone for CryptographicPadding { | |
28 | fn clone(&self) -> Self { | |
29 | *self | |
30 | } | |
31 | } | |
04454e1e | 32 | #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] |
5e7ed085 FG |
33 | #[repr(transparent)] |
34 | pub struct CryptographicPrivateKeyBlobType(pub i32); | |
35 | impl CryptographicPrivateKeyBlobType { | |
36 | pub const Pkcs8RawPrivateKeyInfo: Self = Self(0i32); | |
37 | pub const Pkcs1RsaPrivateKey: Self = Self(1i32); | |
38 | pub const BCryptPrivateKey: Self = Self(2i32); | |
39 | pub const Capi1PrivateKey: Self = Self(3i32); | |
40 | pub const BCryptEccFullPrivateKey: Self = Self(4i32); | |
41 | } | |
42 | impl ::core::marker::Copy for CryptographicPrivateKeyBlobType {} | |
43 | impl ::core::clone::Clone for CryptographicPrivateKeyBlobType { | |
44 | fn clone(&self) -> Self { | |
45 | *self | |
46 | } | |
47 | } | |
04454e1e | 48 | #[doc = "*Required features: `\"Security_Cryptography_Core\"`*"] |
5e7ed085 FG |
49 | #[repr(transparent)] |
50 | pub struct CryptographicPublicKeyBlobType(pub i32); | |
51 | impl CryptographicPublicKeyBlobType { | |
52 | pub const X509SubjectPublicKeyInfo: Self = Self(0i32); | |
53 | pub const Pkcs1RsaPublicKey: Self = Self(1i32); | |
54 | pub const BCryptPublicKey: Self = Self(2i32); | |
55 | pub const Capi1PublicKey: Self = Self(3i32); | |
56 | pub const BCryptEccFullPublicKey: Self = Self(4i32); | |
57 | } | |
58 | impl ::core::marker::Copy for CryptographicPublicKeyBlobType {} | |
59 | impl ::core::clone::Clone for CryptographicPublicKeyBlobType { | |
60 | fn clone(&self) -> Self { | |
61 | *self | |
62 | } | |
63 | } | |
64 | pub type EncryptedAndAuthenticatedData = *mut ::core::ffi::c_void; | |
65 | pub type HashAlgorithmProvider = *mut ::core::ffi::c_void; | |
66 | pub type KeyDerivationAlgorithmProvider = *mut ::core::ffi::c_void; | |
67 | pub type KeyDerivationParameters = *mut ::core::ffi::c_void; | |
68 | pub type MacAlgorithmProvider = *mut ::core::ffi::c_void; | |
69 | pub type SymmetricKeyAlgorithmProvider = *mut ::core::ffi::c_void; |