Class NEHotspotEAPSettings

    • Constructor Detail

      • NEHotspotEAPSettings

        protected NEHotspotEAPSettings​(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()
      • copyWithZone

        public java.lang.Object copyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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)
      • isTLSClientCertificateRequired

        public boolean isTLSClientCertificateRequired()
        [@property] isTLSClientCertificateRequired If YES, supports two-factor authentication for EAP-TTLS, PEAP, or EAP-FAST. If NO, allows for zero-factor authentication for EAP-TLS. The default is YES for EAP-TLS, and NO for other EAP types.
      • keyPathsForValuesAffectingValueForKey

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

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

        public java.lang.String outerIdentity()
        [@property] outerIdentity Identity string to be used in EAP-Response/Identity of the outer phase. This key is only relevant to TTLS, PEAP, and EAP-FAST.
      • password

        public java.lang.String password()
        [@property] password The password component of the 802.1X authentication credential. Length of this property must be between 1 and 64 characters.
      • preferredTLSVersion

        public long preferredTLSVersion()
        [@property] preferredTLSVersion TLS version to use during the TLS handshake. Default value is NEHotspotConfigurationEAPTLSVersion_1_2.
      • resolveClassMethod

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

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

        public boolean setIdentity​(SecIdentityRef identity)
        setIdentity Setter to configure the EAP peer identity. The application needs to store this identity in keychain access group "$(TeamIdentifierPrefix)com.apple.networkextensionsharing". The API uses SecItemCopyMatching to obtain persistent reference for this identity from application's keychain and uses that at the time of EAP authentication. This property is mandatory when EAP-TLS is desired or tlsClientCertificateRequired is set to YES.
        Parameters:
        identity - The identity of the EAP Peer. This is a SecIdentityRef object that contains a SecKeyRef object and an associated SecCertificateRef object.
        Returns:
        returns NO if the parameter is not an object of SecIdentityRef type or if the persistent reference is not found in the application's keychain else returns YES.
      • setOuterIdentity

        public void setOuterIdentity​(java.lang.String value)
        [@property] outerIdentity Identity string to be used in EAP-Response/Identity of the outer phase. This key is only relevant to TTLS, PEAP, and EAP-FAST.
      • setPassword

        public void setPassword​(java.lang.String value)
        [@property] password The password component of the 802.1X authentication credential. Length of this property must be between 1 and 64 characters.
      • setPreferredTLSVersion

        public void setPreferredTLSVersion​(long value)
        [@property] preferredTLSVersion TLS version to use during the TLS handshake. Default value is NEHotspotConfigurationEAPTLSVersion_1_2.
      • setSupportedEAPTypes

        public void setSupportedEAPTypes​(NSArray<? extends NSNumber> value)
        [@property] supportedEAPTypes Array of supported EAP Types. Refer to NEHotspotConfigurationEAPType for valid values.
      • setTlsClientCertificateRequired

        public void setTlsClientCertificateRequired​(boolean value)
        [@property] isTLSClientCertificateRequired If YES, supports two-factor authentication for EAP-TTLS, PEAP, or EAP-FAST. If NO, allows for zero-factor authentication for EAP-TLS. The default is YES for EAP-TLS, and NO for other EAP types.
      • setTrustedServerCertificates

        public boolean setTrustedServerCertificates​(NSArray<?> certificates)
        setTrustedServerCertificates Setter to configure an array of trusted server certificates used for trust evaluation of the server certificate.
        Parameters:
        certificates - Each value in the array is a SecCertificateRef object. Application needs to store the certificates in keychain access group "$(TeamIdentifierPrefix)com.apple.networkextensionsharing". The API uses SecItemCopyMatching to obtain persistent reference for each certificate from application's keychain and uses that at the time os EAP authentication. Number of elements in the array cannot be more than 10.
        Returns:
        returns NO if any element in the array is not an object of type SecCertificateRef or if API fails to find persistent reference for each element from the application's keychain else return YES.
      • setTrustedServerNames

        public void setTrustedServerNames​(NSArray<java.lang.String> value)
        [@property] trustedServerNames Array of server certificate common names that will be used to verify server's certificate. The string could have wildcards to specify the name, such as "*.mycompany.net". If a server presents a certificate with DNSName or Common Name that isn't in this list, it won't be trusted.
      • setTtlsInnerAuthenticationType

        public void setTtlsInnerAuthenticationType​(long value)
        [@property] ttlsInnerAuthentication Specifies the inner authentication used by the TTLS module. Possible values are PAP, CHAP, MSCHAP, MSCHAPv2, and EAP. Defaults to EAP.
      • setUsername

        public void setUsername​(java.lang.String value)
        [@property] username A UTF-8 encoded string containing username component of the user authentication credentials. Length of this property must be between 1 and 253 characters.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public NSArray<? extends NSNumber> supportedEAPTypes()
        [@property] supportedEAPTypes Array of supported EAP Types. Refer to NEHotspotConfigurationEAPType for valid values.
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _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
      • trustedServerNames

        public NSArray<java.lang.String> trustedServerNames()
        [@property] trustedServerNames Array of server certificate common names that will be used to verify server's certificate. The string could have wildcards to specify the name, such as "*.mycompany.net". If a server presents a certificate with DNSName or Common Name that isn't in this list, it won't be trusted.
      • ttlsInnerAuthenticationType

        public long ttlsInnerAuthenticationType()
        [@property] ttlsInnerAuthentication Specifies the inner authentication used by the TTLS module. Possible values are PAP, CHAP, MSCHAP, MSCHAPv2, and EAP. Defaults to EAP.
      • username

        public java.lang.String username()
        [@property] username A UTF-8 encoded string containing username component of the user authentication credentials. Length of this property must be between 1 and 253 characters.
      • version_static

        public static long version_static()