PcapPlusPlus
Next
|
Represents an EC private key in SEC1 format This class provides methods to decode and access the components of an EC private key. More...
#include <CryptoKeyDecoder.h>
Additional Inherited Members | |
![]() | |
std::vector< uint8_t > | toDER () const |
std::string | toPEM () const |
![]() | |
uint8_t | getVersion () const |
std::string | getPrivateKey () const |
std::unique_ptr< Asn1ObjectIdentifier > | getParameters () const |
std::string | getPublicKey () const |
![]() | |
static std::unique_ptr< ECPrivateKey > | fromDER (uint8_t *derData, size_t derDataLen, bool ownDerData=false) |
static std::unique_ptr< ECPrivateKey > | fromDER (const std::string &derData) |
static std::unique_ptr< ECPrivateKey > | fromDERFile (const std::string &derFileName) |
static std::unique_ptr< ECPrivateKey > | fromPEM (const std::string &pemData) |
static std::unique_ptr< ECPrivateKey > | fromPEMFile (const std::string &pemFileName) |
Represents an EC private key in SEC1 format This class provides methods to decode and access the components of an EC private key.