Setting8021x
Object Hierarchy:
Description:
[ CCode ( lower_case_csuffix = "setting_802_1x" , type_id = "nm_setting_802_1x_get_type ()" ) ]
public class Setting8021x : Setting
public class Setting8021x : Setting
Namespace: NM
Package: libnm-util
Content:
Constants:
- public const string ALTSUBJECT_MATCHES
- public const string ANONYMOUS_IDENTITY
- public const string CA_CERT
- public const string CA_PATH
- public const string CLIENT_CERT
- public const string EAP
- public const string IDENTITY
- public const string PAC_FILE
- public const string PASSWORD
- public const string PASSWORD_FLAGS
- public const string PASSWORD_RAW
- public const string PASSWORD_RAW_FLAGS
- public const string PHASE1_FAST_PROVISIONING
- public const string PHASE1_PEAPLABEL
- public const string PHASE1_PEAPVER
- public const string PHASE2_ALTSUBJECT_MATCHES
- public const string PHASE2_AUTH
- public const string PHASE2_AUTHEAP
- public const string PHASE2_CA_CERT
- public const string PHASE2_CA_PATH
- public const string PHASE2_CLIENT_CERT
- public const string PHASE2_PRIVATE_KEY
- public const string PHASE2_PRIVATE_KEY_PASSWORD
- public const string PHASE2_PRIVATE_KEY_PASSWORD_FLAGS
- public const string PHASE2_SUBJECT_MATCH
- public const string PIN
- public const string PIN_FLAGS
- public const string PRIVATE_KEY
- public const string PRIVATE_KEY_PASSWORD
- public const string PRIVATE_KEY_PASSWORD_FLAGS
- public const string SETTING_NAME
- public const string SUBJECT_MATCH
- public const string SYSTEM_CA_CERTS
Properties:
- public string anonymous_identity { owned get; set; }
Anonymous identity string for EAP authentication methods.
- public string ca_path { owned get; set; }
UTF-8 encoded path to a directory containing PEM or DER formatted certificates to be added to the verification chain in addition to the certificate specified in the
NMSetting8021x:ca-cert
property. - public string identity { owned get; set; }
Identity string for EAP authentication methods.
- public string pac_file { owned get; set; }
UTF-8 encoded file path containing PAC for EAP-FAST.
- public string password { owned get; set; }
UTF-8 encoded password used for EAP authentication methods.
- public uint password_flags { get; set; }
Flags indicating how to handle the password property.
- public uint password_raw_flags { get; set; }
Flags indicating how to handle the
NMSetting8021x:password-raw
property. - public string phase1_fast_provisioning { owned get; set; }
Enables or disables in-line provisioning of EAP-FAST credentials when FAST is specified as the EAP method in the
NMSetting8021x:eap
property. - public string phase1_peaplabel { owned get; set; }
Forces use of the new PEAP label during key derivation.
- public string phase1_peapver { owned get; set; }
Forces which PEAP version is used when PEAP is set as the EAP method in the
NMSetting8021x:eap
property. - public string phase2_auth { owned get; set; }
Specifies the allowed "phase 2" inner non-EAP authentication methods when an EAP method that uses an inner TLS tunnel is specified in the
NMSetting8021x:eap
property. - public string phase2_autheap { owned get; set; }
Specifies the allowed "phase 2" inner EAP-based authentication methods when an EAP method that uses an inner TLS tunnel is specified in the
NMSetting8021x:eap
property. - public string phase2_ca_path { owned get; set; }
UTF-8 encoded path to a directory containing PEM or DER formatted certificates to be added to the verification chain in addition to the certificate specified in the
NMSetting8021x:phase2-ca-cert
property. - public string phase2_private_key_password { owned get; set; }
The password used to decrypt the "phase 2" private key specified in the
NMSetting8021x:phase2-private-key
property when the private key either uses the path scheme, or is a PKCS#12 format key. - public uint phase2_private_key_password_flags { get; set; }
Flags indicating how to handle the phase2_private_key_password property.
- public string phase2_subject_match { owned get; set; }
Substring to be matched against the subject of the certificate presented by the authentication server during the inner "phase 2" authentication.
- public string pin { owned get; set; }
PIN used for EAP authentication methods.
- public uint pin_flags { get; set; }
Flags indicating how to handle the pin property.
- public string private_key_password { owned get; set; }
The password used to decrypt the private key specified in the
NMSetting8021x:private-key
property when the private key either uses the path scheme, or if the private key is a PKCS#12 format key. - public uint private_key_password_flags { get; set; }
Flags indicating how to handle the private_key_password property.
- public string subject_match { owned get; set; }
Substring to be matched against the subject of the certificate presented by the authentication server.
- public bool system_ca_certs { get; set construct; }
When
true
, overrides the ca_path and phase2_ca_path properties using the system CA directory specified at configure time with the --system-ca-path switch.
Creation methods:
- public Setting8021x ()
Creates a new Setting8021x object with default values.
Methods:
- public bool add_altsubject_match (string altsubject_match)
Adds an allowed alternate subject name match.
- public bool add_eap_method (string eap)
Adds an allowed EAP method.
- public bool add_phase2_altsubject_match (string phase2_altsubject_match)
Adds an allowed alternate subject name match for "phase 2".
- public void clear_altsubject_matches ()
Clears all altSubjectName matches.
- public void clear_eap_methods ()
Clears all allowed EAP methods.
- public void clear_phase2_altsubject_matches ()
Clears all "phase 2" altSubjectName matches.
- public unowned string get_altsubject_match (uint32 i)
Returns the altSubjectName match at index
i
. - public unowned string get_anonymous_identity ()
Returns the anonymous identifier used by some EAP methods (like TTLS) to authenticate the user in the outer unencrypted "phase 1" authentication.
- public unowned ByteArray get_ca_cert_blob ()
Returns the CA certificate blob if the CA certificate is stored using the BLOB scheme.
- public unowned string get_ca_cert_path ()
Returns the CA certificate path if the CA certificate is stored using the PATH scheme.
- public Setting8021xCKScheme get_ca_cert_scheme ()
Returns the scheme used to store the CA certificate.
- public unowned string get_ca_path ()
Returns the path of the CA certificate directory if previously set.
- public unowned ByteArray get_client_cert_blob ()
Client certificates are used to identify the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public unowned string get_client_cert_path ()
Client certificates are used to identify the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKScheme get_client_cert_scheme ()
Returns the scheme used to store the client certificate.
- public unowned string get_eap_method (uint32 i)
Returns the name of the allowed EAP method at index
i
. - public unowned string get_identity ()
Returns the identifier used by some EAP methods (like TLS) to authenticate the user.
- public uint32 get_num_altsubject_matches ()
Returns the number of entries in the
NMSetting8021x:altsubject-matches
s property of this setting. - public uint32 get_num_eap_methods ()
Returns the number of eap methods allowed for use when connecting to the network.
- public uint32 get_num_phase2_altsubject_matches ()
Returns the number of entries in the
NMSetting8021x:phase2-altsubject-matches
s property of this setting. - public unowned string get_pac_file ()
Returns the file containing PAC credentials used by EAP-FAST method.
- public unowned string get_password ()
- public SettingSecretFlags get_password_flags ()
- public unowned ByteArray get_password_raw ()
- public SettingSecretFlags get_password_raw_flags ()
- public unowned string get_phase1_fast_provisioning ()
- public unowned string get_phase1_peaplabel ()
- public unowned string get_phase1_peapver ()
- public unowned string get_phase2_altsubject_match (uint32 i)
Returns the "phase 2" altSubjectName match at index
i
. - public unowned string get_phase2_auth ()
- public unowned string get_phase2_autheap ()
- public unowned ByteArray get_phase2_ca_cert_blob ()
Returns the "phase 2" CA certificate blob if the CA certificate is stored using the BLOB scheme.
- public unowned string get_phase2_ca_cert_path ()
Returns the "phase 2" CA certificate path if the CA certificate is stored using the PATH scheme.
- public Setting8021xCKScheme get_phase2_ca_cert_scheme ()
Returns the scheme used to store the "phase 2" CA certificate.
- public unowned string get_phase2_ca_path ()
Returns the path of the "phase 2" CA certificate directory if previously set.
- public unowned ByteArray get_phase2_client_cert_blob ()
Client certificates are used to identify the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public unowned string get_phase2_client_cert_path ()
Client certificates are used to identify the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKScheme get_phase2_client_cert_scheme ()
Returns the scheme used to store the "phase 2" client certificate.
- public unowned ByteArray get_phase2_private_key_blob ()
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKFormat get_phase2_private_key_format ()
- public unowned string get_phase2_private_key_password ()
- public SettingSecretFlags get_phase2_private_key_password_flags ()
- public unowned string get_phase2_private_key_path ()
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKScheme get_phase2_private_key_scheme ()
Returns the scheme used to store the "phase 2" private key.
- public unowned string get_phase2_subject_match ()
- public unowned string get_pin ()
- public SettingSecretFlags get_pin_flags ()
- public unowned ByteArray get_private_key_blob ()
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKFormat get_private_key_format ()
- public unowned string get_private_key_password ()
- public SettingSecretFlags get_private_key_password_flags ()
- public unowned string get_private_key_path ()
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public Setting8021xCKScheme get_private_key_scheme ()
Returns the scheme used to store the private key.
- public unowned string get_subject_match ()
- public bool get_system_ca_certs ()
Sets the system_ca_certs property.
- public void remove_altsubject_match (uint32 i)
Removes the allowed altSubjectName at the specified index.
- public bool remove_altsubject_match_by_value (string altsubject_match)
Removes the allowed altSubjectName
altsubject_match
. - public void remove_eap_method (uint32 i)
Removes the allowed EAP method at the specified index.
- public bool remove_eap_method_by_value (string eap)
Removes the allowed EAP method
method
. - public void remove_phase2_altsubject_match (uint32 i)
Removes the allowed "phase 2" altSubjectName at the specified index.
- public bool remove_phase2_altsubject_match_by_value (string phase2_altsubject_match)
Removes the allowed "phase 2" altSubjectName
phase2_altsubject_match
. - public bool set_ca_cert (string cert_path, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
- public bool set_client_cert (string cert_path, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
- public bool set_phase2_ca_cert (string cert_path, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
- public bool set_phase2_client_cert (string cert_path, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
- public bool set_phase2_private_key (string key_path, string password, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
- public bool set_private_key (string key_path, string password, Setting8021xCKScheme scheme, Setting8021xCKFormat out_format) throws Error
Private keys are used to authenticate the connecting client to the network when EAP-TLS is used as either the "phase 1" or "phase 2" 802.1x authentication method.
Inherited Members:
All known members inherited from class NM.Setting
All known members inherited from class GLib.Object