ClientCertificateNetworkCredential class
A network credential that specifies a client certificate and password for a PKI-secured host.
- Inheritance
-
- Object
- NetworkCredential
- ClientCertificateNetworkCredential
Constructors
- ClientCertificateNetworkCredential.new({required String host, required Uint8List privateKeyBytes, required String password})
- Creates a ClientCertificateNetworkCredential that provides a client certificate for the given host.
- ClientCertificateNetworkCredential.forChallenge(ClientCertificateAuthenticationChallenge challenge, Uint8List privateKeyBytes, String password)
-
Creates a ClientCertificateNetworkCredential for the server specified in
the ClientCertificateAuthenticationChallenge.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
The server host this credential applies to.
finalinherited
- password → String
-
final
- privateKeyBytes → Uint8List
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited