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