mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Add externalPki property representing External PKI profile
This commit is contained in:
@@ -33,6 +33,11 @@ typedef NS_ENUM(NSInteger, OpenVPNTransportProtocol);
|
|||||||
*/
|
*/
|
||||||
@property (readonly, nonatomic) BOOL autologin;
|
@property (readonly, nonatomic) BOOL autologin;
|
||||||
|
|
||||||
|
/**
|
||||||
|
If YES this is an External PKI profile (no cert or key directives)
|
||||||
|
*/
|
||||||
|
@property (readonly, nonatomic) BOOL externalPki;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Static challenge, may be empty, ignored if autologin
|
Static challenge, may be empty, ignored if autologin
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ using namespace openvpn;
|
|||||||
_friendlyName = !eval.friendlyName.empty() ? [NSString stringWithUTF8String:eval.friendlyName.c_str()] : nil;
|
_friendlyName = !eval.friendlyName.empty() ? [NSString stringWithUTF8String:eval.friendlyName.c_str()] : nil;
|
||||||
|
|
||||||
_autologin = eval.autologin;
|
_autologin = eval.autologin;
|
||||||
|
_externalPki = eval.externalPki;
|
||||||
|
|
||||||
_staticChallenge = !eval.staticChallenge.empty() ? [NSString stringWithUTF8String:eval.staticChallenge.c_str()] : nil;
|
_staticChallenge = !eval.staticChallenge.empty() ? [NSString stringWithUTF8String:eval.staticChallenge.c_str()] : nil;
|
||||||
_staticChallengeEcho = eval.staticChallengeEcho;
|
_staticChallengeEcho = eval.staticChallengeEcho;
|
||||||
|
|||||||
Reference in New Issue
Block a user