Class CertificateCredential
A credential that provides client certificates to access resources secured by PKI (Public Key Infrastructure).
Implements
System.ComponentModel.INotifyPropertyChanged
System.Runtime.Serialization.ISerializable
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.Security
Assembly: Esri.ArcGISRuntime.dll
Syntax
[Serializable]
[KnownType(typeof(X509Certificate))]
[KnownType(typeof(X509Certificate2))]
public sealed class CertificateCredential : Credential, INotifyPropertyChanged, ISerializable
Constructors
| Name | Description |
|---|---|
| CertificateCredential(String, X509Certificate) | Initializes a new instance of the CertificateCredential class for the specified service with the specified client certificate. |
| CertificateCredential(Uri, X509Certificate) | Initializes a new instance of the CertificateCredential class for the specified service with the specified client certificate. |
Properties
| Name | Description |
|---|---|
| ClientCertificate | Gets the client certificate for accessing an ArcGIS resource in a PKI. |
| UserName | Gets the name of the user associated with this credential. |
Methods
| Name | Description |
|---|---|
| ToJson() | Convert this Credential to a JSON string. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.5 - 200.8 |