diff options
author | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
commit | 75e05bc441382db69c842a64c562738cb749214e (patch) | |
tree | 698b60b3b4b914bf7958cf1174d0373909bf1e8f /zen/open_ssl.h | |
parent | add upstream 11.29 (diff) | |
download | FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.gz FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.bz2 FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.zip |
add upstream 12.0
Diffstat (limited to 'zen/open_ssl.h')
-rw-r--r-- | zen/open_ssl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/zen/open_ssl.h b/zen/open_ssl.h index 1a28f068..96e25ffc 100644 --- a/zen/open_ssl.h +++ b/zen/open_ssl.h @@ -25,16 +25,16 @@ enum class RsaStreamType }; //verify signatures produced with: "openssl dgst -sha256 -sign private.pem -out file.sig file.txt" -void verifySignature(const std::string& message, - const std::string& signature, - const std::string& publicKeyStream, +void verifySignature(const std::string_view message, + const std::string_view signature, + const std::string_view publicKeyStream, RsaStreamType streamType); //throw SysError -std::string convertRsaKey(const std::string& keyStream, RsaStreamType typeFrom, RsaStreamType typeTo, bool publicKey); //throw SysError +std::string convertRsaKey(const std::string_view keyStream, RsaStreamType typeFrom, RsaStreamType typeTo, bool publicKey); //throw SysError bool isPuttyKeyStream(const std::string_view keyStream); -std::string convertPuttyKeyToPkix(const std::string& keyStream, const std::string& passphrase); //throw SysError +std::string convertPuttyKeyToPkix(const std::string_view keyStream, const std::string_view passphrase); //throw SysError } #endif //OPEN_SSL_H_801974580936508934568792347506 |