Class SshPublicKey (2.3.0)

public sealed class SshPublicKey : IMessage<SshPublicKey>, IEquatable<SshPublicKey>, IDeepCloneable<SshPublicKey>, IBufferMessage, IMessage

The SSH public key information associated with a Google account.

Inheritance

Object > SshPublicKey

Namespace

Google.Cloud.OsLogin.Common

Assembly

Google.Cloud.OsLogin.Common.dll

Constructors

SshPublicKey()

public SshPublicKey()

SshPublicKey(SshPublicKey)

public SshPublicKey(SshPublicKey other)
Parameter
NameDescription
otherSshPublicKey

Properties

ExpirationTimeUsec

public long ExpirationTimeUsec { get; set; }

An expiration time in microseconds since epoch.

Property Value
TypeDescription
Int64

Fingerprint

public string Fingerprint { get; set; }

Output only. The SHA-256 fingerprint of the SSH public key.

Property Value
TypeDescription
String

Key

public string Key { get; set; }

Public key text in SSH format, defined by <a href="https://www.ietf.org/rfc/rfc4253.txt"; target="_blank">RFC4253</a> section 6.6.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Output only. The canonical resource name.

Property Value
TypeDescription
String

SshPublicKeyName

public SshPublicKeyName SshPublicKeyName { get; set; }

SshPublicKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
SshPublicKeyName