PcapPlusPlus  Next
pcpp::ECPrivateKey Class Reference

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>

Inheritance diagram for pcpp::ECPrivateKey:
pcpp::internal::CryptographicKey< ECPrivateKey > pcpp::internal::CryptoDataReader< ECPrivateKey > pcpp::internal::ECPrivateKeyDataView pcpp::internal::PrivateKeyDataView

Additional Inherited Members

- Public Member Functions inherited from pcpp::internal::CryptographicKey< ECPrivateKey >
std::vector< uint8_t > toDER () const
 
std::string toPEM () const
 
- Public Member Functions inherited from pcpp::internal::ECPrivateKeyDataView
uint8_t getVersion () const
 
std::string getPrivateKey () const
 
std::unique_ptr< Asn1ObjectIdentifiergetParameters () const
 
std::string getPublicKey () const
 
- Static Public Member Functions inherited from pcpp::internal::CryptoDataReader< ECPrivateKey >
static std::unique_ptr< ECPrivateKeyfromDER (uint8_t *derData, size_t derDataLen, bool ownDerData=false)
 
static std::unique_ptr< ECPrivateKeyfromDER (const std::string &derData)
 
static std::unique_ptr< ECPrivateKeyfromDERFile (const std::string &derFileName)
 
static std::unique_ptr< ECPrivateKeyfromPEM (const std::string &pemData)
 
static std::unique_ptr< ECPrivateKeyfromPEMFile (const std::string &pemFileName)
 

Detailed Description

Represents an EC private key in SEC1 format This class provides methods to decode and access the components of an EC private key.