Init
This commit is contained in:
26
Source/include/slikenet/crypto/factory.h
Normal file
26
Source/include/slikenet/crypto/factory.h
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2019, SLikeSoft UG (haftungsbeschr<68>nkt)
|
||||
*
|
||||
* This source code is licensed under the MIT-style license found in the license.txt
|
||||
* file in the root directory of this source tree.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include "securestring.h" // used for SLNet::Crypto::CSecureString
|
||||
#include "ifileencrypter.h" // used for SLNet::Crypto::IFileEncrypter
|
||||
|
||||
namespace SLNet
|
||||
{
|
||||
namespace Experimental
|
||||
{
|
||||
namespace Crypto
|
||||
{
|
||||
class Factory
|
||||
{
|
||||
public:
|
||||
static IFileEncrypter* ConstructFileEncrypter(const char *publicKey, size_t publicKeyLength);
|
||||
static IFileEncrypter* ConstructFileEncrypter(const char *publicKey, size_t publicKeyLength, const char *privateKey, size_t privateKeyLength, CSecureString& privateKeyPassword);
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user