LeviLamina
Loading...
Searching...
No Matches
Crypto::Asymmetric::OpenSSLInterface Class Reference
+ Inheritance diagram for Crypto::Asymmetric::OpenSSLInterface:

Public Types

enum class  SystemType : int { Rsa = 0 , Ecc = 1 , None = 2 }
 

Public Member Functions

OpenSSLInterfaceoperator= (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
 

Member Function Documentation

◆ generateKeyPair()

virtual bool Crypto::Asymmetric::OpenSSLInterface::generateKeyPair ( ::std::string & privateKey,
::std::string & publicKey )
virtual

◆ encryptData()

virtual::std::string Crypto::Asymmetric::OpenSSLInterface::encryptData ( ::std::string const & publicKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType,
::Crypto::Asymmetric::PubKeyFormat keyFormat )
virtual

◆ decryptData()

virtual::std::string Crypto::Asymmetric::OpenSSLInterface::decryptData ( ::std::string const & privateKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType )
virtual

◆ signData()

virtual::std::string Crypto::Asymmetric::OpenSSLInterface::signData ( ::std::string const & privateKey,
::std::string const & data,
::Crypto::Hash::HashType hash,
::Crypto::Asymmetric::PrivateKeySigningFormat format )
virtual

◆ verifyData()

virtual bool Crypto::Asymmetric::OpenSSLInterface::verifyData ( ::std::string const & publicKey,
::std::string const & signature,
::std::string const & data,
::Crypto::Hash::HashType hash )
virtual

◆ computeSharedSecret()

virtual::std::string Crypto::Asymmetric::OpenSSLInterface::computeSharedSecret ( ::std::string const & myPrivateKey,
::std::string const & peerPublicKey )
virtual

◆ _computeSharedSecretECC()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_computeSharedSecretECC ( ::std::string const & myPrivateKey,
::std::string const & peerPublicKey )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _decryptDataRSA()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_decryptDataRSA ( ::std::string const & privateKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _encryptDataRSA()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::_encryptDataRSA ( ::std::string const & publicKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType,
::Crypto::Asymmetric::PubKeyFormat keyFormat )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _generateKeyPairECC()

MCAPI bool Crypto::Asymmetric::OpenSSLInterface::_generateKeyPairECC ( ::std::string & privateKey,
::std::string & publicKey )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $generateKeyPair()

MCAPI bool Crypto::Asymmetric::OpenSSLInterface::$generateKeyPair ( ::std::string & privateKey,
::std::string & publicKey )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $encryptData()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$encryptData ( ::std::string const & publicKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType,
::Crypto::Asymmetric::PubKeyFormat keyFormat )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $decryptData()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$decryptData ( ::std::string const & privateKey,
::std::string const & data,
::Crypto::Asymmetric::Padding paddingType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $signData()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$signData ( ::std::string const & privateKey,
::std::string const & data,
::Crypto::Hash::HashType hash,
::Crypto::Asymmetric::PrivateKeySigningFormat format )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $verifyData()

MCAPI bool Crypto::Asymmetric::OpenSSLInterface::$verifyData ( ::std::string const & publicKey,
::std::string const & signature,
::std::string const & data,
::Crypto::Hash::HashType hash )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $computeSharedSecret()

MCAPI::std::string Crypto::Asymmetric::OpenSSLInterface::$computeSharedSecret ( ::std::string const & myPrivateKey,
::std::string const & peerPublicKey )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** Crypto::Asymmetric::OpenSSLInterface::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: