acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_rsa.h
1#pragma once
2
3
4namespace winrt
5{
6
7
8 class CLASS_DECL_APEX rsa :
9 virtual public ::crypto::rsa
10 {
11 public:
12
13
14 ::winrt::Windows::Security::Cryptography::Core::CryptographicKey ^ m_pkey;
15
16
17 rsa();
18
19 rsa(
20 const ::scoped_string & scopedstrN,
21 const ::scoped_string & scopedstrE,
22 const ::scoped_string & scopedstrD,
23 const ::scoped_string & scopedstrP,
24 const ::scoped_string & scopedstrQ,
25 const ::scoped_string & scopedstrDmp1,
26 const ::scoped_string & scopedstrDmq1,
27 const ::scoped_string & scopedstrIqmp);
28
29 rsa(const ::scoped_string & scopedstr);
30
31 virtual ~rsa();
32
33
34 virtual ::i32 public_encrypt(memory& out, const memory& in, string& strError) override;
35 virtual ::i32 private_decrypt(memory& out, const memory& in, string& strError) override;
36 virtual ::i32 public_decrypt(memory& out, const memory& in, string& strError) override;
37 virtual ::i32 private_encrypt(memory& out, const memory& in, string& strError) override;
38
39
40 };
41
42
43} // namespace winrt
44
45
46
Definition rsa.h:13
Definition memory.h:33