Skip to content

/AWS1/CL_LSAHOSTKEYATTRIBUTES

Describes the public SSH host keys or the RDP certificate.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_algorithm TYPE /AWS1/LSASTRING /AWS1/LSASTRING

The SSH host key algorithm or the RDP certificate format.

For SSH host keys, the algorithm may be ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the algorithm is always x509-cert.

iv_publickey TYPE /AWS1/LSASTRING /AWS1/LSASTRING

The public SSH host key or the RDP certificate.

iv_witnessedat TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The time that the SSH host key or RDP certificate was recorded by Lightsail.

iv_fingerprintsha1 TYPE /AWS1/LSASTRING /AWS1/LSASTRING

The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

  • Example of an SHA-1 SSH fingerprint:

    SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0

  • Example of an SHA-1 RDP fingerprint:

    af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45

iv_fingerprintsha256 TYPE /AWS1/LSASTRING /AWS1/LSASTRING

The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

  • Example of an SHA-256 SSH fingerprint:

    SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o

  • Example of an SHA-256 RDP fingerprint:

    03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68

iv_notvalidbefore TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The returned RDP certificate is valid after this point in time.

This value is listed only for RDP certificates.

iv_notvalidafter TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The returned RDP certificate is not valid after this point in time.

This value is listed only for RDP certificates.


Queryable Attributes

algorithm

The SSH host key algorithm or the RDP certificate format.

For SSH host keys, the algorithm may be ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519, etc. For RDP certificates, the algorithm is always x509-cert.

Accessible with the following methods

Method Description
GET_ALGORITHM() Getter for ALGORITHM, with configurable default
ASK_ALGORITHM() Getter for ALGORITHM w/ exceptions if field has no value
HAS_ALGORITHM() Determine if ALGORITHM has a value

publicKey

The public SSH host key or the RDP certificate.

Accessible with the following methods

Method Description
GET_PUBLICKEY() Getter for PUBLICKEY, with configurable default
ASK_PUBLICKEY() Getter for PUBLICKEY w/ exceptions if field has no value
HAS_PUBLICKEY() Determine if PUBLICKEY has a value

witnessedAt

The time that the SSH host key or RDP certificate was recorded by Lightsail.

Accessible with the following methods

Method Description
GET_WITNESSEDAT() Getter for WITNESSEDAT, with configurable default
ASK_WITNESSEDAT() Getter for WITNESSEDAT w/ exceptions if field has no value
HAS_WITNESSEDAT() Determine if WITNESSEDAT has a value

fingerprintSHA1

The SHA-1 fingerprint of the returned SSH host key or RDP certificate.

  • Example of an SHA-1 SSH fingerprint:

    SHA1:1CHH6FaAaXjtFOsR/t83vf91SR0

  • Example of an SHA-1 RDP fingerprint:

    af:34:51:fe:09:f0:e0:da:b8:4e:56:ca:60:c2:10:ff:38:06:db:45

Accessible with the following methods

Method Description
GET_FINGERPRINTSHA1() Getter for FINGERPRINTSHA1, with configurable default
ASK_FINGERPRINTSHA1() Getter for FINGERPRINTSHA1 w/ exceptions if field has no val
HAS_FINGERPRINTSHA1() Determine if FINGERPRINTSHA1 has a value

fingerprintSHA256

The SHA-256 fingerprint of the returned SSH host key or RDP certificate.

  • Example of an SHA-256 SSH fingerprint:

    SHA256:KTsMnRBh1IhD17HpdfsbzeGA4jOijm5tyXsMjKVbB8o

  • Example of an SHA-256 RDP fingerprint:

    03:9b:36:9f:4b:de:4e:61:70:fc:7c:c9:78:e7:d2:1a:1c:25:a8:0c:91:f6:7c:e4:d6:a0:85:c8:b4:53:99:68

Accessible with the following methods

Method Description
GET_FINGERPRINTSHA256() Getter for FINGERPRINTSHA256, with configurable default
ASK_FINGERPRINTSHA256() Getter for FINGERPRINTSHA256 w/ exceptions if field has no v
HAS_FINGERPRINTSHA256() Determine if FINGERPRINTSHA256 has a value

notValidBefore

The returned RDP certificate is valid after this point in time.

This value is listed only for RDP certificates.

Accessible with the following methods

Method Description
GET_NOTVALIDBEFORE() Getter for NOTVALIDBEFORE, with configurable default
ASK_NOTVALIDBEFORE() Getter for NOTVALIDBEFORE w/ exceptions if field has no valu
HAS_NOTVALIDBEFORE() Determine if NOTVALIDBEFORE has a value

notValidAfter

The returned RDP certificate is not valid after this point in time.

This value is listed only for RDP certificates.

Accessible with the following methods

Method Description
GET_NOTVALIDAFTER() Getter for NOTVALIDAFTER, with configurable default
ASK_NOTVALIDAFTER() Getter for NOTVALIDAFTER w/ exceptions if field has no value
HAS_NOTVALIDAFTER() Determine if NOTVALIDAFTER has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_HOSTKEYSLIST

TYPES TT_HOSTKEYSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LSAHOSTKEYATTRIBUTES WITH DEFAULT KEY
.