PcapPlusPlus  Next
pcpp::internal::ECPrivateKeyDataView Class Reference

#include <CryptoKeyDecoder.h>

Inheritance diagram for pcpp::internal::ECPrivateKeyDataView:
pcpp::internal::PrivateKeyDataView pcpp::ECPrivateKey pcpp::PKCS8PrivateKey::ECPrivateKeyData

Public Member Functions

uint8_t getVersion () const
 
std::string getPrivateKey () const
 
std::unique_ptr< Asn1ObjectIdentifiergetParameters () const
 
std::string getPublicKey () const
 

Detailed Description

A class that contains EC private key data

Member Function Documentation

◆ getParameters()

std::unique_ptr<Asn1ObjectIdentifier> pcpp::internal::ECPrivateKeyDataView::getParameters ( ) const
Returns
The parameters of the EC private key

◆ getPrivateKey()

std::string pcpp::internal::ECPrivateKeyDataView::getPrivateKey ( ) const
Returns
The private key itself

◆ getPublicKey()

std::string pcpp::internal::ECPrivateKeyDataView::getPublicKey ( ) const
Returns
The public key of the EC private key

◆ getVersion()

uint8_t pcpp::internal::ECPrivateKeyDataView::getVersion ( ) const
Returns
The version of the EC private key