SshFingerprint.ToString Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)
ToString()
Returns a string representation of the fingerprint. SHA-256 hash is returned at the moment, but please be aware that this might change in future.
Use To
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string representation of the fingerprint. |
Overrides
ToString(SignatureHashAlgorithm)
Returns a string representation of the fingerprint produced using the specified algorithm.
Declaration
public string ToString(SignatureHashAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
Signature |
algorithm | Algorithm to be used to compute the fingerprint. |
Returns
Type | Description |
---|---|
String | A string representation of the fingerprint. |
ToString(SignatureHashAlgorithm, Boolean)
Returns a string representation of the fingerprint produced using the specified algorithm.
Declaration
public string ToString(SignatureHashAlgorithm algorithm, bool base64)
Parameters
Type | Name | Description |
---|---|---|
Signature |
algorithm | Algorithm to be used to compute the fingerprint. |
Boolean | base64 | True to use Base64 format; false to use legacy format. |
Returns
Type | Description |
---|---|
String | A string representation of the fingerprint. |