PIAuth role enum move to private
This commit is contained in:
@@ -32,7 +32,6 @@ class PIP_CRYPT_EXPORT PIAuth : public PIObject
|
||||
{
|
||||
PIOBJECT(PIAuth)
|
||||
public:
|
||||
enum Role {Client, Server};
|
||||
enum State {NotConnected, AuthProbe, PassRequest, AuthReply, KeyExchange, Connected};
|
||||
|
||||
//! Create PIAuth with your digital sign
|
||||
@@ -89,6 +88,8 @@ public:
|
||||
EVENT1(passwordCheck, bool, result)
|
||||
|
||||
private:
|
||||
enum Role {Client, Server};
|
||||
|
||||
State disconnect(PIByteArray & ba, const PIString & error = PIString());
|
||||
bool isAuthorizedKey(const PIByteArray & pkey);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user