The SshPublicKey type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines whether the specified object is the same key as the specified key.
(Overrides Object..::..Equals(Object).) | |
| Equals(SshPublicKey) |
Determines whether the specified key is the same key as the specified key.
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetCertificate |
Returns the underlying X509 certificate.
| |
| GetCertificateChain |
Returns the underlying X509 certificate and its chain (for certificate-based keys).
| |
| GetDSAParameters |
Gets the DSA parameters for a DSA key. May only be used for DSA public keys.
| |
| GetHashCode |
A hash function for this type.
(Overrides Object..::..GetHashCode()()()().) | |
| GetPublicKey |
Gets the public key in SSH format (or raw X.509 data of the leaf certificate).
| |
| GetPublicKeyInfo |
Returns the public key info for this key.
| |
| GetRSAParameters |
Gets the RSA parameters for a RSA key. May only be used for RSA public keys.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LoadPublicKeys |
Loads public keys in ~/.ssh/authorized_keys file format.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SavePublicKey(Stream) |
Saves the public key into the supplied stream in Base64-encoded SSH2 public key format.
| |
| SavePublicKey(String) |
Saves the public key into the supplied stream in Base64-encoded SSH2 public key format.
| |
| SavePublicKey(Stream, SshPublicKeyFormat) |
Saves the public key into the supplied stream in the specified format.
| |
| SavePublicKey(String, SshPublicKeyFormat) |
Saves the public key into the supplied stream in the specified format.
| |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| VerifySignature | Obsolete. |