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. API-Since: 8.0
    • Constructor Detail

      • NEVPNProtocolIPSec

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

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

        @NotNull
        public static @NotNull 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

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • 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. API-Since: 8.0
      • localIdentifier

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

        @Nullable
        public @Nullable java.lang.String remoteIdentifier()
        [@property] remoteIdentifier A string identifying the remote IPSec endpoint for authentication purposes. API-Since: 8.0
      • 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. API-Since: 8.0
      • setLocalIdentifier

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

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

        public void setSharedSecretReference​(@Nullable
                                             @Nullable NSData value)
        [@property] sharedSecretReference A persistent reference to a keychain item of class kSecClassGenericPassword containing the IKE shared secret. API-Since: 8.0
      • 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. API-Since: 8.0
      • sharedSecretReference

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

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.