DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
X509Certificate2.h
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include "
Common.h
"
7
#include "
System/Object.h
"
8
#include "
System/String.h
"
9
10
namespace
DotNetDupe
{
11
namespace
System
{
12
namespace
Security
{
13
namespace
Cryptography
{
14
namespace
X509Certificates
{
15
21
class
X509Certificate2
:
public
Object
{
22
public
:
26
DOTNETDUPE_API
X509Certificate2
(
const
String
& certPath,
const
String
& keyPath);
27
29
DOTNETDUPE_API
~X509Certificate2
();
30
33
DOTNETDUPE_API
void
*
GetInternalCert
()
const
;
34
37
DOTNETDUPE_API
void
*
GetInternalKey
()
const
;
38
39
private
:
40
void
* m_pCert;
// X509*
41
void
* m_pKey;
// EVP_PKEY*
42
};
43
44
}
45
}
46
}
47
}
48
}
Common.h
Defines common cross-platform macros, export decorators, and fundamental types.
DOTNETDUPE_API
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition
Common.h:20
Object.h
Base object class for DotNetDupe mirroring .NET System.Object.
String.h
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
DotNetDupe::System::Object
Supports all classes in the DotNetDupe class hierarchy.
Definition
Object.h:18
DotNetDupe::System::Security::Cryptography::X509Certificates::X509Certificate2::GetInternalCert
void * GetInternalCert() const
Gets the internal OpenSSL X509* pointer.
Definition
X509Certificate2.cpp:89
DotNetDupe::System::Security::Cryptography::X509Certificates::X509Certificate2::GetInternalKey
void * GetInternalKey() const
Gets the internal OpenSSL EVP_PKEY* pointer.
Definition
X509Certificate2.cpp:94
DotNetDupe::System::Security::Cryptography::X509Certificates::X509Certificate2::X509Certificate2
X509Certificate2(const String &certPath, const String &keyPath)
Initializes a new instance of X509Certificate2 from PEM certificate and private key files.
Definition
X509Certificate2.cpp:61
DotNetDupe::System::String
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition
String.h:74
DotNetDupe::System::Security::Cryptography::X509Certificates
Definition
X509Certificate2.h:14
DotNetDupe::System::Security::Cryptography
Definition
HMACSHA256.h:13
DotNetDupe::System::Security
Definition
HMACSHA256.h:12
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Security
Cryptography
X509Certificates
X509Certificate2.h
Generated by
1.18.0