1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
4 pub type AsymmetricKeyAlgorithmProvider
= *mut ::core
::ffi
::c_void
;
6 pub struct Capi1KdfTargetAlgorithm(pub i32);
7 impl Capi1KdfTargetAlgorithm
{
8 pub const NotAes
: Self = Self(0i32);
9 pub const Aes
: Self = Self(1i32);
11 impl ::core
::marker
::Copy
for Capi1KdfTargetAlgorithm {}
12 impl ::core
::clone
::Clone
for Capi1KdfTargetAlgorithm
{
13 fn clone(&self) -> Self {
17 pub type CryptographicHash
= *mut ::core
::ffi
::c_void
;
18 pub type CryptographicKey
= *mut ::core
::ffi
::c_void
;
20 pub struct CryptographicPadding(pub i32);
21 impl CryptographicPadding
{
22 pub const None
: Self = Self(0i32);
23 pub const RsaOaep
: Self = Self(1i32);
24 pub const RsaPkcs1V15
: Self = Self(2i32);
25 pub const RsaPss
: Self = Self(3i32);
27 impl ::core
::marker
::Copy
for CryptographicPadding {}
28 impl ::core
::clone
::Clone
for CryptographicPadding
{
29 fn clone(&self) -> Self {
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);
42 impl ::core
::marker
::Copy
for CryptographicPrivateKeyBlobType {}
43 impl ::core
::clone
::Clone
for CryptographicPrivateKeyBlobType
{
44 fn clone(&self) -> Self {
49 pub struct CryptographicPublicKeyBlobType(pub i32);
50 impl CryptographicPublicKeyBlobType
{
51 pub const X509SubjectPublicKeyInfo
: Self = Self(0i32);
52 pub const Pkcs1RsaPublicKey
: Self = Self(1i32);
53 pub const BCryptPublicKey
: Self = Self(2i32);
54 pub const Capi1PublicKey
: Self = Self(3i32);
55 pub const BCryptEccFullPublicKey
: Self = Self(4i32);
57 impl ::core
::marker
::Copy
for CryptographicPublicKeyBlobType {}
58 impl ::core
::clone
::Clone
for CryptographicPublicKeyBlobType
{
59 fn clone(&self) -> Self {
63 pub type EncryptedAndAuthenticatedData
= *mut ::core
::ffi
::c_void
;
64 pub type HashAlgorithmProvider
= *mut ::core
::ffi
::c_void
;
65 pub type KeyDerivationAlgorithmProvider
= *mut ::core
::ffi
::c_void
;
66 pub type KeyDerivationParameters
= *mut ::core
::ffi
::c_void
;
67 pub type MacAlgorithmProvider
= *mut ::core
::ffi
::c_void
;
68 pub type SymmetricKeyAlgorithmProvider
= *mut ::core
::ffi
::c_void
;