diff options
Diffstat (limited to 'src/mbedTLS++/RsaPrivateKey.h')
-rw-r--r-- | src/mbedTLS++/RsaPrivateKey.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mbedTLS++/RsaPrivateKey.h b/src/mbedTLS++/RsaPrivateKey.h index 33a016edc..1b02edd47 100644 --- a/src/mbedTLS++/RsaPrivateKey.h +++ b/src/mbedTLS++/RsaPrivateKey.h @@ -21,7 +21,7 @@ class cRsaPrivateKey { friend class cSslContext; -public: + public: /** Creates a new empty object, the key is not assigned */ cRsaPrivateKey(void); @@ -42,7 +42,7 @@ public: Returns the number of bytes decrypted, or negative number for error. */ int Decrypt(ContiguousByteBufferView a_EncryptedData, Byte * a_DecryptedData, size_t a_DecryptedMaxLength); -protected: + protected: /** The mbedTLS key context */ mbedtls_rsa_context m_Rsa; @@ -52,11 +52,6 @@ protected: /** Returns the internal context ptr. Only use in mbedTLS API calls. */ mbedtls_rsa_context * GetInternal(void) { return &m_Rsa; } -} ; +}; typedef std::shared_ptr<cRsaPrivateKey> cRsaPrivateKeyPtr; - - - - - |