Table of Contents

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

key SshPublicKey

The key, for example a user's from an authorized_keys line.

Returns

bool

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

certificate SshCertificate

The certificate, a user's or a host's.

Returns

bool