Class NEVPNProtocolIKEv2

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject

    public class NEVPNProtocolIKEv2
    extends NEVPNProtocolIPSec
    [@interface] NEVPNProtocolIKEv2 The NEVPNProtocolIKEv2 class declares the programmatic interface of an object that manages the IKEv2-specific portion of a VPN configuration. Instances of this class use IKE version 2 for key negotiation. Instances of this class are thread safe.
    • Constructor Detail

      • NEVPNProtocolIKEv2

        protected NEVPNProtocolIKEv2​(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()
      • certificateType

        public long certificateType()
        [@property] certificateType contains the type of certificate if an certificate is configured. Default is RSA.
      • childSecurityAssociationParameters

        public NEVPNIKEv2SecurityAssociationParameters childSecurityAssociationParameters()
        [@property] childSecurityAssociationParameters Parameters for the child SA
      • deadPeerDetectionRate

        public long deadPeerDetectionRate()
        [@property] deadPeerDetectionRate How frequently the IKEv2 client will run the dead peer detection algorithm. Default is NEVPNIKEv2DeadPeerDetectionRateMedium.
      • disableMOBIKE

        public boolean disableMOBIKE()
        [@property] disableMOBIKE Disable MOBIKE negotiation. Default is NO.
      • disableRedirect

        public boolean disableRedirect()
        [@property] disableRedirect Disable Server Redirect. Default is NO.
      • enablePFS

        public boolean enablePFS()
        [@property] enablePFS Enable Perfect Forward Secrecy. Default is NO.
      • enableRevocationCheck

        public boolean enableRevocationCheck()
        [@property] enableRevocationCheck Enable certificate revocation check. Default is NO.
      • serverCertificateCommonName

        public java.lang.String serverCertificateCommonName()
        [@property] serverCertificateCommonName A string containing the value to verify in the IKEv2 server certificate's Subject Common Name field.
      • serverCertificateIssuerCommonName

        public java.lang.String serverCertificateIssuerCommonName()
        [@property] serverCertificateIssuerCommonName A string containing the Subject Common Name field of the Certificate Authority certificate that issued the IKEv2 server's certificate.
      • setCertificateType

        public void setCertificateType​(long value)
        [@property] certificateType contains the type of certificate if an certificate is configured. Default is RSA.
      • setDeadPeerDetectionRate

        public void setDeadPeerDetectionRate​(long value)
        [@property] deadPeerDetectionRate How frequently the IKEv2 client will run the dead peer detection algorithm. Default is NEVPNIKEv2DeadPeerDetectionRateMedium.
      • setDisableMOBIKE

        public void setDisableMOBIKE​(boolean value)
        [@property] disableMOBIKE Disable MOBIKE negotiation. Default is NO.
      • setDisableRedirect

        public void setDisableRedirect​(boolean value)
        [@property] disableRedirect Disable Server Redirect. Default is NO.
      • setEnablePFS

        public void setEnablePFS​(boolean value)
        [@property] enablePFS Enable Perfect Forward Secrecy. Default is NO.
      • setEnableRevocationCheck

        public void setEnableRevocationCheck​(boolean value)
        [@property] enableRevocationCheck Enable certificate revocation check. Default is NO.
      • setServerCertificateCommonName

        public void setServerCertificateCommonName​(java.lang.String value)
        [@property] serverCertificateCommonName A string containing the value to verify in the IKEv2 server certificate's Subject Common Name field.
      • setServerCertificateIssuerCommonName

        public void setServerCertificateIssuerCommonName​(java.lang.String value)
        [@property] serverCertificateIssuerCommonName A string containing the Subject Common Name field of the Certificate Authority certificate that issued the IKEv2 server's certificate.
      • setStrictRevocationCheck

        public void setStrictRevocationCheck​(boolean value)
        [@property] strictRevocationCheck Require positive certificate revocation check response for peer certificate validation to pass. Default is NO.
      • setUseConfigurationAttributeInternalIPSubnet

        public void setUseConfigurationAttributeInternalIPSubnet​(boolean value)
        [@property] useConfigurationAttributeInternalIPSubnet Boolean indicating if client should use INTERNAL_IP4_SUBNET / INTERNAL_IP6_SUBNET attributes. Default is False.
      • strictRevocationCheck

        public boolean strictRevocationCheck()
        [@property] strictRevocationCheck Require positive certificate revocation check response for peer certificate validation to pass. Default is NO.
      • _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
        Overrides:
        _supportsSecureCoding in class NEVPNProtocolIPSec
      • useConfigurationAttributeInternalIPSubnet

        public boolean useConfigurationAttributeInternalIPSubnet()
        [@property] useConfigurationAttributeInternalIPSubnet Boolean indicating if client should use INTERNAL_IP4_SUBNET / INTERNAL_IP6_SUBNET attributes. Default is False.
      • maximumTLSVersion

        public long maximumTLSVersion()
        [@property] maximumTLSVersion Sets a maximum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
      • minimumTLSVersion

        public long minimumTLSVersion()
        [@property] minimumTLSVersion Sets a minimum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
      • setMaximumTLSVersion

        public void setMaximumTLSVersion​(long value)
        [@property] maximumTLSVersion Sets a maximum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
      • setMinimumTLSVersion

        public void setMinimumTLSVersion​(long value)
        [@property] minimumTLSVersion Sets a minimum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
      • enableFallback

        public boolean enableFallback()
        [@property] enableFallback Enable Fallback is used to support Wi-Fi Assist. Wi-Fi Assist allows connections for foreground apps to switch over to Cellular Data when WiFi connectivity is poor. By setting the EnableFallback key, the device will bring up a tunnel over Cellular Data to carry traffic that is eligible for Wi-Fi Assist and also requires VPN. Enabling fallback requires that the server support multiple tunnels for a single user. Default is NO.
      • setEnableFallback

        public void setEnableFallback​(boolean value)
        [@property] enableFallback Enable Fallback is used to support Wi-Fi Assist. Wi-Fi Assist allows connections for foreground apps to switch over to Cellular Data when WiFi connectivity is poor. By setting the EnableFallback key, the device will bring up a tunnel over Cellular Data to carry traffic that is eligible for Wi-Fi Assist and also requires VPN. Enabling fallback requires that the server support multiple tunnels for a single user. Default is NO.
      • mtu

        public long mtu()
        [@property] mtu Maximum Transmission Unit (MTU) size in bytes to assign to the tunnel interface.
      • setMtu

        public void setMtu​(long value)
        [@property] mtu Maximum Transmission Unit (MTU) size in bytes to assign to the tunnel interface.