public class NEVPNProtocolIKEv2 extends NEVPNProtocolIPSec
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.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NEVPNProtocolIKEv2(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
_supportsSecureCoding()
This property must return YES on all classes that allow secure coding.
|
static boolean |
accessInstanceVariablesDirectly() |
static NEVPNProtocolIKEv2 |
alloc() |
static NEVPNProtocolIKEv2 |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
long |
certificateType()
[@property] certificateType
|
NEVPNIKEv2SecurityAssociationParameters |
childSecurityAssociationParameters()
[@property] childSecurityAssociationParameters
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
long |
deadPeerDetectionRate()
[@property] deadPeerDetectionRate
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
boolean |
disableMOBIKE()
[@property] disableMOBIKE
|
boolean |
disableRedirect()
[@property] disableRedirect
|
boolean |
enableFallback()
[@property] enableFallback
|
boolean |
enablePFS()
[@property] enablePFS
|
boolean |
enableRevocationCheck()
[@property] enableRevocationCheck
|
static long |
hash_static() |
NEVPNIKEv2SecurityAssociationParameters |
IKESecurityAssociationParameters()
[@property] IKESecurityAssociationParameters
|
NEVPNProtocolIKEv2 |
init() |
NEVPNProtocolIKEv2 |
initWithCoder(NSCoder coder)
NS_DESIGNATED_INITIALIZER
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
long |
maximumTLSVersion()
[@property] maximumTLSVersion
|
long |
minimumTLSVersion()
[@property] minimumTLSVersion
|
long |
mtu()
[@property] mtu
|
static NEVPNProtocolIKEv2 |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
java.lang.String |
serverCertificateCommonName()
[@property] serverCertificateCommonName
|
java.lang.String |
serverCertificateIssuerCommonName()
[@property] serverCertificateIssuerCommonName
|
void |
setCertificateType(long value)
[@property] certificateType
|
void |
setDeadPeerDetectionRate(long value)
[@property] deadPeerDetectionRate
|
void |
setDisableMOBIKE(boolean value)
[@property] disableMOBIKE
|
void |
setDisableRedirect(boolean value)
[@property] disableRedirect
|
void |
setEnableFallback(boolean value)
[@property] enableFallback
|
void |
setEnablePFS(boolean value)
[@property] enablePFS
|
void |
setEnableRevocationCheck(boolean value)
[@property] enableRevocationCheck
|
void |
setMaximumTLSVersion(long value)
[@property] maximumTLSVersion
|
void |
setMinimumTLSVersion(long value)
[@property] minimumTLSVersion
|
void |
setMtu(long value)
[@property] mtu
|
void |
setServerCertificateCommonName(java.lang.String value)
[@property] serverCertificateCommonName
|
void |
setServerCertificateIssuerCommonName(java.lang.String value)
[@property] serverCertificateIssuerCommonName
|
void |
setStrictRevocationCheck(boolean value)
[@property] strictRevocationCheck
|
void |
setUseConfigurationAttributeInternalIPSubnet(boolean value)
[@property] useConfigurationAttributeInternalIPSubnet
|
static void |
setVersion_static(long aVersion) |
boolean |
strictRevocationCheck()
[@property] strictRevocationCheck
|
static org.moe.natj.objc.Class |
superclass_static() |
static boolean |
supportsSecureCoding() |
boolean |
useConfigurationAttributeInternalIPSubnet()
[@property] useConfigurationAttributeInternalIPSubnet
|
static long |
version_static() |
authenticationMethod, localIdentifier, remoteIdentifier, setAuthenticationMethod, setLocalIdentifier, setRemoteIdentifier, setSharedSecretReference, setUseExtendedAuthentication, sharedSecretReference, useExtendedAuthenticationcopyWithZone, disconnectOnSleep, encodeWithCoder, enforceRoutes, excludeLocalNetworks, identityData, identityDataPassword, identityReference, includeAllNetworks, passwordReference, proxySettings, serverAddress, setDisconnectOnSleep, setEnforceRoutes, setExcludeLocalNetworks, setIdentityData, setIdentityDataPassword, setIdentityReference, setIncludeAllNetworks, setPasswordReference, setProxySettings, setServerAddress, setUsername, usernameaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected NEVPNProtocolIKEv2(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NEVPNProtocolIKEv2 alloc()
public static NEVPNProtocolIKEv2 allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NEVPNProtocolIKEv2 new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static boolean supportsSecureCoding()
public static long version_static()
public NEVPNIKEv2SecurityAssociationParameters IKESecurityAssociationParameters()
Parameters for the IKE SA
public long certificateType()
contains the type of certificate if an certificate is configured. Default is RSA.
public NEVPNIKEv2SecurityAssociationParameters childSecurityAssociationParameters()
Parameters for the child SA
public long deadPeerDetectionRate()
How frequently the IKEv2 client will run the dead peer detection algorithm. Default is NEVPNIKEv2DeadPeerDetectionRateMedium.
public boolean disableMOBIKE()
Disable MOBIKE negotiation. Default is NO.
public boolean disableRedirect()
Disable Server Redirect. Default is NO.
public boolean enablePFS()
Enable Perfect Forward Secrecy. Default is NO.
public boolean enableRevocationCheck()
Enable certificate revocation check. Default is NO.
public NEVPNProtocolIKEv2 init()
init in class NEVPNProtocolIPSecpublic NEVPNProtocolIKEv2 initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodinginitWithCoder in class NEVPNProtocolIPSecpublic java.lang.String serverCertificateCommonName()
A string containing the value to verify in the IKEv2 server certificate's Subject Common Name field.
public java.lang.String serverCertificateIssuerCommonName()
A string containing the Subject Common Name field of the Certificate Authority certificate that issued the IKEv2 server's certificate.
public void setCertificateType(long value)
contains the type of certificate if an certificate is configured. Default is RSA.
public void setDeadPeerDetectionRate(long value)
How frequently the IKEv2 client will run the dead peer detection algorithm. Default is NEVPNIKEv2DeadPeerDetectionRateMedium.
public void setDisableMOBIKE(boolean value)
Disable MOBIKE negotiation. Default is NO.
public void setDisableRedirect(boolean value)
Disable Server Redirect. Default is NO.
public void setEnablePFS(boolean value)
Enable Perfect Forward Secrecy. Default is NO.
public void setEnableRevocationCheck(boolean value)
Enable certificate revocation check. Default is NO.
public void setServerCertificateCommonName(java.lang.String value)
A string containing the value to verify in the IKEv2 server certificate's Subject Common Name field.
public void setServerCertificateIssuerCommonName(java.lang.String value)
A string containing the Subject Common Name field of the Certificate Authority certificate that issued the IKEv2 server's certificate.
public void setStrictRevocationCheck(boolean value)
Require positive certificate revocation check response for peer certificate validation to pass. Default is NO.
public void setUseConfigurationAttributeInternalIPSubnet(boolean value)
Boolean indicating if client should use INTERNAL_IP4_SUBNET / INTERNAL_IP6_SUBNET attributes. Default is False.
public boolean strictRevocationCheck()
Require positive certificate revocation check response for peer certificate validation to pass. Default is NO.
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCoding_supportsSecureCoding in class NEVPNProtocolIPSecpublic boolean useConfigurationAttributeInternalIPSubnet()
Boolean indicating if client should use INTERNAL_IP4_SUBNET / INTERNAL_IP6_SUBNET attributes. Default is False.
public long maximumTLSVersion()
Sets a maximum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
public long minimumTLSVersion()
Sets a minimum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
public void setMaximumTLSVersion(long value)
Sets a maximum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
public void setMinimumTLSVersion(long value)
Sets a minimum TLS version to allow for EAP-TLS authentication. Default is NEVPNIKEv2TLSVersionDefault.
public boolean 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.
public void setEnableFallback(boolean value)
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.
public long mtu()
Maximum Transmission Unit (MTU) size in bytes to assign to the tunnel interface.
public void setMtu(long value)
Maximum Transmission Unit (MTU) size in bytes to assign to the tunnel interface.