Class PublicKey
Represents an SSH public key.
public sealed class PublicKey : IEquatable<PublicKey>
- Inheritance
-
PublicKey
- Implements
- Inherited Members
Properties
SHA256FingerPrint
Gets the SHA256 fingerprint of the key.
public string SHA256FingerPrint { get; }
Property Value
Type
Gets the key type.
public string Type { get; }
Property Value
Methods
Equals(PublicKey?)
Determines whether this key equals another.
public bool Equals(PublicKey? other)
Parameters
otherPublicKeyThe key to compare.
Returns
GetHashCode()
Returns the hash code for this key.
public override int GetHashCode()
Returns
- int
Hash code.
ToString()
Returns the key in OpenSSH string key format.
public override string ToString()
Returns
- string
String representation of the key.