Class NEVPNProtocol

    • Constructor Detail

      • NEVPNProtocol

        protected NEVPNProtocol​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • version_static

        public static long version_static()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • disconnectOnSleep

        public boolean disconnectOnSleep()
        [@property] disconnectOnSleep If YES, the VPN connection will be disconnected when the device goes to sleep. The default is NO.
      • identityData

        public NSData identityData()
        [@property] identityData The PKCS12 data for the VPN authentication identity. The value is a NSData in PKCS12 format.
      • identityDataPassword

        public java.lang.String identityDataPassword()
        [@property] identityDataPassword The password to be used to decrypt the PKCS12 identity data.
      • identityReference

        public NSData identityReference()
        [@property] identityReference The certificate and private key component of the VPN authentication credential. The value is a persistent reference to a keychain item with the kSecClassIdentity class.
      • passwordReference

        public NSData passwordReference()
        [@property] passwordReference The password component of the VPN authentication credential. The value is a persistent reference to a keychain item with the kSecClassGenericPassword class.
      • proxySettings

        public NEProxySettings proxySettings()
        [@property] proxySettings An NEProxySettings object containing the proxy settings to use for connections routed through the tunnel.
      • serverAddress

        public java.lang.String serverAddress()
        [@property] serverAddress The VPN server. Depending on the protocol, may be an IP address, host name, or URL.
      • setDisconnectOnSleep

        public void setDisconnectOnSleep​(boolean value)
        [@property] disconnectOnSleep If YES, the VPN connection will be disconnected when the device goes to sleep. The default is NO.
      • setIdentityData

        public void setIdentityData​(NSData value)
        [@property] identityData The PKCS12 data for the VPN authentication identity. The value is a NSData in PKCS12 format.
      • setIdentityDataPassword

        public void setIdentityDataPassword​(java.lang.String value)
        [@property] identityDataPassword The password to be used to decrypt the PKCS12 identity data.
      • setIdentityReference

        public void setIdentityReference​(NSData value)
        [@property] identityReference The certificate and private key component of the VPN authentication credential. The value is a persistent reference to a keychain item with the kSecClassIdentity class.
      • setPasswordReference

        public void setPasswordReference​(NSData value)
        [@property] passwordReference The password component of the VPN authentication credential. The value is a persistent reference to a keychain item with the kSecClassGenericPassword class.
      • setProxySettings

        public void setProxySettings​(NEProxySettings value)
        [@property] proxySettings An NEProxySettings object containing the proxy settings to use for connections routed through the tunnel.
      • setServerAddress

        public void setServerAddress​(java.lang.String value)
        [@property] serverAddress The VPN server. Depending on the protocol, may be an IP address, host name, or URL.
      • setUsername

        public void setUsername​(java.lang.String value)
        [@property] username The username component of the VPN authentication credential.
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • username

        public java.lang.String username()
        [@property] username The username component of the VPN authentication credential.
      • includeAllNetworks

        public boolean includeAllNetworks()
        [@property] includeAllNetworks If YES, all traffic will be sent over the tunnel, and all traffic will be dropped if the tunnel is down. The default is NO.
      • setIncludeAllNetworks

        public void setIncludeAllNetworks​(boolean value)
        [@property] includeAllNetworks If YES, all traffic will be sent over the tunnel, and all traffic will be dropped if the tunnel is down. The default is NO.
      • enforceRoutes

        public boolean enforceRoutes()
        [@property] enforceRoutes If YES, route rules for this tunnel will take precendence over any locally-defined routes. The default is NO.
      • excludeLocalNetworks

        public boolean excludeLocalNetworks()
        [@property] excludeLocalNetworks If YES, all traffic destined for local networks will be excluded from the tunnel. The default is NO on macOS and YES on iOS.
      • setEnforceRoutes

        public void setEnforceRoutes​(boolean value)
        [@property] enforceRoutes If YES, route rules for this tunnel will take precendence over any locally-defined routes. The default is NO.
      • setExcludeLocalNetworks

        public void setExcludeLocalNetworks​(boolean value)
        [@property] excludeLocalNetworks If YES, all traffic destined for local networks will be excluded from the tunnel. The default is NO on macOS and YES on iOS.