Method IsRevoked
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
IsRevoked(SshPublicKey)
Whether key is revoked: listed, or listed by its SHA-1 or SHA-256 fingerprint.
public bool IsRevoked(SshPublicKey key)
Parameters
keySshPublicKeyThe key, for example a user's from an
authorized_keysline.
Returns
IsRevoked(SshCertificate)
Whether certificate is revoked: by its serial number or key id (for its authority, or for any), or because its
certified key or its authority's key is.
public bool IsRevoked(SshCertificate certificate)
Parameters
certificateSshCertificateThe certificate, a user's or a host's.