public class NEHotspotEAPSettings extends NSObject implements NSCopying, NSSecureCoding
NEHotspotEAPSettings class provides a set of properties that are required to configure a WPA/WPA2 Enterprise or Hotspot 2.0 Wi-Fi networks.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NEHotspotEAPSettings(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 NEHotspotEAPSettings |
alloc() |
static NEHotspotEAPSettings |
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) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
java.lang.Object |
copyWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
void |
encodeWithCoder(NSCoder coder) |
static long |
hash_static() |
NEHotspotEAPSettings |
init() |
NEHotspotEAPSettings |
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) |
boolean |
isTLSClientCertificateRequired()
[@property] isTLSClientCertificateRequired
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static NEHotspotEAPSettings |
new_objc() |
java.lang.String |
outerIdentity()
[@property] outerIdentity
|
java.lang.String |
password()
[@property] password
|
long |
preferredTLSVersion()
[@property] preferredTLSVersion
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
boolean |
setIdentity(SecIdentityRef identity)
setIdentity
|
void |
setOuterIdentity(java.lang.String value)
[@property] outerIdentity
|
void |
setPassword(java.lang.String value)
[@property] password
|
void |
setPreferredTLSVersion(long value)
[@property] preferredTLSVersion
|
void |
setSupportedEAPTypes(NSArray<? extends NSNumber> value)
[@property] supportedEAPTypes
|
void |
setTlsClientCertificateRequired(boolean value)
[@property] isTLSClientCertificateRequired
|
boolean |
setTrustedServerCertificates(NSArray<?> certificates)
setTrustedServerCertificates
|
void |
setTrustedServerNames(NSArray<java.lang.String> value)
[@property] trustedServerNames
|
void |
setTtlsInnerAuthenticationType(long value)
[@property] ttlsInnerAuthentication
|
void |
setUsername(java.lang.String value)
[@property] username
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<? extends NSNumber> |
supportedEAPTypes()
[@property] supportedEAPTypes
|
static boolean |
supportsSecureCoding() |
NSArray<java.lang.String> |
trustedServerNames()
[@property] trustedServerNames
|
long |
ttlsInnerAuthenticationType()
[@property] ttlsInnerAuthentication
|
java.lang.String |
username()
[@property] username
|
static long |
version_static() |
accessibilityActivate, 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 NEHotspotEAPSettings(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static NEHotspotEAPSettings alloc()
public static NEHotspotEAPSettings 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 java.lang.Object copyWithZone(org.moe.natj.general.ptr.VoidPtr zone)
copyWithZone in interface NSCopyingpublic static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public void encodeWithCoder(NSCoder coder)
encodeWithCoder in interface NSCodingpublic static long hash_static()
public NEHotspotEAPSettings init()
public NEHotspotEAPSettings initWithCoder(NSCoder coder)
NSCodinginitWithCoder in interface NSCodingpublic 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 boolean 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.
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static NEHotspotEAPSettings new_objc()
public java.lang.String 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.
public java.lang.String password()
The password component of the 802.1X authentication credential. Length of this property must be between 1 and 64 characters.
public long preferredTLSVersion()
TLS version to use during the TLS handshake. Default value is NEHotspotConfigurationEAPTLSVersion_1_2.
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public boolean setIdentity(SecIdentityRef identity)
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.
identity - The identity of the EAP Peer. This is a SecIdentityRef object that contains
a SecKeyRef object and an associated SecCertificateRef object.public void setOuterIdentity(java.lang.String value)
Identity string to be used in EAP-Response/Identity of the outer phase. This key is only relevant to TTLS, PEAP, and EAP-FAST.
public void setPassword(java.lang.String value)
The password component of the 802.1X authentication credential. Length of this property must be between 1 and 64 characters.
public void setPreferredTLSVersion(long value)
TLS version to use during the TLS handshake. Default value is NEHotspotConfigurationEAPTLSVersion_1_2.
public void setSupportedEAPTypes(NSArray<? extends NSNumber> value)
Array of supported EAP Types. Refer to NEHotspotConfigurationEAPType for valid values.
public void setTlsClientCertificateRequired(boolean value)
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.
public boolean setTrustedServerCertificates(NSArray<?> certificates)
Setter to configure an array of trusted server certificates used for trust evaluation of the server certificate.
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.public void setTrustedServerNames(NSArray<java.lang.String> value)
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.
public void setTtlsInnerAuthenticationType(long value)
Specifies the inner authentication used by the TTLS module. Possible values are PAP, CHAP, MSCHAP, MSCHAPv2, and EAP. Defaults to EAP.
public void setUsername(java.lang.String value)
A UTF-8 encoded string containing username component of the user authentication credentials. Length of this property must be between 1 and 253 characters.
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public NSArray<? extends NSNumber> supportedEAPTypes()
Array of supported EAP Types. Refer to NEHotspotConfigurationEAPType for valid values.
public static boolean supportsSecureCoding()
public boolean _supportsSecureCoding()
NSSecureCoding_supportsSecureCoding in interface NSSecureCodingpublic NSArray<java.lang.String> 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.
public long ttlsInnerAuthenticationType()
Specifies the inner authentication used by the TTLS module. Possible values are PAP, CHAP, MSCHAP, MSCHAPv2, and EAP. Defaults to EAP.
public java.lang.String 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.
public static long version_static()