LeviLamina
|
Public Types | |
enum class | SystemType : int { Rsa = 0 , Ecc = 1 , None = 2 } |
Public Member Functions | |
OpenSSLInterface & | operator= (OpenSSLInterface const &) |
OpenSSLInterface (OpenSSLInterface const &) | |
virtual bool | generateKeyPair (::std::string &privateKey, ::std::string &publicKey) |
virtual::std::string | encryptData (::std::string const &publicKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType, ::Crypto::Asymmetric::PubKeyFormat keyFormat) |
virtual::std::string | decryptData (::std::string const &privateKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType) |
virtual::std::string | signData (::std::string const &privateKey, ::std::string const &data, ::Crypto::Hash::HashType hash, ::Crypto::Asymmetric::PrivateKeySigningFormat format) |
virtual bool | verifyData (::std::string const &publicKey, ::std::string const &signature, ::std::string const &data, ::Crypto::Hash::HashType hash) |
virtual::std::string | computeSharedSecret (::std::string const &myPrivateKey, ::std::string const &peerPublicKey) |
MCAPI::std::string | _computeSharedSecretECC (::std::string const &myPrivateKey, ::std::string const &peerPublicKey) |
MCAPI::std::string | _decryptDataRSA (::std::string const &privateKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType) |
MCAPI::std::string | _encryptDataRSA (::std::string const &publicKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType, ::Crypto::Asymmetric::PubKeyFormat keyFormat) |
MCAPI bool | _generateKeyPairECC (::std::string &privateKey, ::std::string &publicKey) |
MCAPI bool | $generateKeyPair (::std::string &privateKey, ::std::string &publicKey) |
MCAPI::std::string | $encryptData (::std::string const &publicKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType, ::Crypto::Asymmetric::PubKeyFormat keyFormat) |
MCAPI::std::string | $decryptData (::std::string const &privateKey, ::std::string const &data, ::Crypto::Asymmetric::Padding paddingType) |
MCAPI::std::string | $signData (::std::string const &privateKey, ::std::string const &data, ::Crypto::Hash::HashType hash, ::Crypto::Asymmetric::PrivateKeySigningFormat format) |
MCAPI bool | $verifyData (::std::string const &publicKey, ::std::string const &signature, ::std::string const &data, ::Crypto::Hash::HashType hash) |
MCAPI::std::string | $computeSharedSecret (::std::string const &myPrivateKey, ::std::string const &peerPublicKey) |
Static Public Member Functions | |
static MCAPI void ** | $vftable () |
Public Attributes | |
::ll::UntypedStorage< 4, 4 > | mUnk2484a2 |
::ll::UntypedStorage< 4, 4 > | mUnkce0d9f |
::ll::UntypedStorage< 4, 4 > | mUnk931832 |
::ll::UntypedStorage< 4, 4 > | mUnk46aacc |
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
|
virtual |
Implements Crypto::Asymmetric::ISystemInterface.
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_computeSharedSecretECC | ( | ::std::string const & | myPrivateKey, |
::std::string const & | peerPublicKey ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_decryptDataRSA | ( | ::std::string const & | privateKey, |
::std::string const & | data, | ||
::Crypto::Asymmetric::Padding | paddingType ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_encryptDataRSA | ( | ::std::string const & | publicKey, |
::std::string const & | data, | ||
::Crypto::Asymmetric::Padding | paddingType, | ||
::Crypto::Asymmetric::PubKeyFormat | keyFormat ) |
MCAPI bool Crypto::Asymmetric::OpenSSLInterface::_generateKeyPairECC | ( | ::std::string & | privateKey, |
::std::string & | publicKey ) |
MCAPI bool Crypto::Asymmetric::OpenSSLInterface::$generateKeyPair | ( | ::std::string & | privateKey, |
::std::string & | publicKey ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$encryptData | ( | ::std::string const & | publicKey, |
::std::string const & | data, | ||
::Crypto::Asymmetric::Padding | paddingType, | ||
::Crypto::Asymmetric::PubKeyFormat | keyFormat ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$decryptData | ( | ::std::string const & | privateKey, |
::std::string const & | data, | ||
::Crypto::Asymmetric::Padding | paddingType ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$signData | ( | ::std::string const & | privateKey, |
::std::string const & | data, | ||
::Crypto::Hash::HashType | hash, | ||
::Crypto::Asymmetric::PrivateKeySigningFormat | format ) |
MCAPI bool Crypto::Asymmetric::OpenSSLInterface::$verifyData | ( | ::std::string const & | publicKey, |
::std::string const & | signature, | ||
::std::string const & | data, | ||
::Crypto::Hash::HashType | hash ) |
MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$computeSharedSecret | ( | ::std::string const & | myPrivateKey, |
::std::string const & | peerPublicKey ) |
|
static |