Renci.SshNet.Security.Certificate
Represents an OpenSSH certificate as described in
https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.certkeys.
namespace Renci.SshNet.Security
{
public class Certificate
{
public enum CertificateType : uint
{
User = 1,
Host
}
public string Name { get; }
public byte[] Nonce { get; }
public Key Key { get; }
public ulong Serial { get; }
public CertificateType Type { get; }
public string KeyId { get; }
public IList<string> ValidPrincipals { get; }
public ulong ValidAfterUnixSeconds { get; }
public DateTimeOffset ValidAfter { get; }
public ulong ValidBeforeUnixSeconds { get; }
public DateTimeOffset ValidBefore { get; }
public IDictionary<string, string> CriticalOptions { get; }
public IDictionary<string, string> Extensions { get; }
public byte[] CertificateAuthorityKey { get; }
public string CertificateAuthorityKeyFingerPrint { get; }
public byte[] Signature { get; }
public Certificate(byte[] data);
}
}