|
PcapPlusPlus
Next
|
#include <CryptoKeyDecoder.h>
Public Types | |
| enum | Value : uint8_t { RSA , DSA , ECDSA , ED25519 , ED448 , DiffieHellman , X448 , Unknown } |
| Define enum types and the corresponding int values. More... | |
Public Member Functions | |
| constexpr | CryptographicKeyAlgorithm (Value value) |
| Constructs a CryptographicKeyAlgorithm object from a Value enum. More... | |
| std::string | toString () const |
| std::string | getOidValue () const |
Static Public Member Functions | |
| static CryptographicKeyAlgorithm | fromOidValue (const Asn1ObjectIdentifier &value) |
| Creates a CryptographicKeyAlgorithm object from an OID value. More... | |
Represents cryptographic algorithms used in PKCS#8 private keys This class encapsulates various hashing and signature algorithms that can be used in PKCS#8 private keys.
| enum pcpp::CryptographicKeyAlgorithm::Value : uint8_t |
Define enum types and the corresponding int values.
|
inlineconstexpr |
Constructs a CryptographicKeyAlgorithm object from a Value enum.
| [in] | value | The Value enum value |
|
static |
Creates a CryptographicKeyAlgorithm object from an OID value.
| [in] | value | The OID value |
| std::string pcpp::CryptographicKeyAlgorithm::getOidValue | ( | ) | const |
| std::string pcpp::CryptographicKeyAlgorithm::toString | ( | ) | const |