Class NEVPNProtocolIPSec

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject
    Direct Known Subclasses:
    NEVPNProtocolIKEv2

    public class NEVPNProtocolIPSec
    extends NEVPNProtocol
    [@interface] NEVPNProtocolIPSec The NEVPNProtocolIPSec class declares the programmatic interface of an object that manages the IPSec-specific portion of a VPN configuration. Instances of this class use IKE version 1 for key negotiation.
    • Constructor Detail

      • NEVPNProtocolIPSec

        protected NEVPNProtocolIPSec​(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()
      • authenticationMethod

        public long authenticationMethod()
        [@property] authenticationMethod The method used to authenticate with the IPSec server. Note that if this property is set to NEVPNIKEAuthenticationMethodNone, extended authentication will still be negotiated if useExtendedAuthentication is set to YES.
      • localIdentifier

        public java.lang.String localIdentifier()
        [@property] localIdentifier A string identifying the local IPSec endpoint for authentication purposes.
      • remoteIdentifier

        public java.lang.String remoteIdentifier()
        [@property] remoteIdentifier A string identifying the remote IPSec endpoint for authentication purposes.
      • setAuthenticationMethod

        public void setAuthenticationMethod​(long value)
        [@property] authenticationMethod The method used to authenticate with the IPSec server. Note that if this property is set to NEVPNIKEAuthenticationMethodNone, extended authentication will still be negotiated if useExtendedAuthentication is set to YES.
      • setLocalIdentifier

        public void setLocalIdentifier​(java.lang.String value)
        [@property] localIdentifier A string identifying the local IPSec endpoint for authentication purposes.
      • setRemoteIdentifier

        public void setRemoteIdentifier​(java.lang.String value)
        [@property] remoteIdentifier A string identifying the remote IPSec endpoint for authentication purposes.
      • setSharedSecretReference

        public void setSharedSecretReference​(NSData value)
        [@property] sharedSecretReference A persistent reference to a keychain item of class kSecClassGenericPassword containing the IKE shared secret.
      • setUseExtendedAuthentication

        public void setUseExtendedAuthentication​(boolean value)
        [@property] useExtendedAuthentication A flag indicating if extended authentication will be negotiated. This authentication is in addition to the IKE authentication used to authenticate the endpoints of the IKE session. For IKE version 1, when this flag is set X-Auth authentication will be negotiated as part of the IKE session, using the username and password properties as the credential. For IKE version 2, when this flag is set EAP authentication will be negotiated as part of the IKE session, using the username, password, and/or identity properties as the credential depending on which EAP method the server requires.
      • sharedSecretReference

        public NSData sharedSecretReference()
        [@property] sharedSecretReference A persistent reference to a keychain item of class kSecClassGenericPassword containing the IKE shared secret.
      • _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 NEVPNProtocol
      • useExtendedAuthentication

        public boolean useExtendedAuthentication()
        [@property] useExtendedAuthentication A flag indicating if extended authentication will be negotiated. This authentication is in addition to the IKE authentication used to authenticate the endpoints of the IKE session. For IKE version 1, when this flag is set X-Auth authentication will be negotiated as part of the IKE session, using the username and password properties as the credential. For IKE version 2, when this flag is set EAP authentication will be negotiated as part of the IKE session, using the username, password, and/or identity properties as the credential depending on which EAP method the server requires.