Class: Google::Cloud::Kms::V1::KeyOperationAttestation

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb

Overview

Contains an HSM-generated attestation about a key operation. For more information, see Verifying attestations.

Defined Under Namespace

Modules: AttestationFormat

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

Returns Output only. The attestation data provided by the HSM when the key operation was performed.

Returns:

  • (String)

    Output only. The attestation data provided by the HSM when the key operation was performed.



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb', line 146

class KeyOperationAttestation
  # Attestation formats provided by the HSM.
  module AttestationFormat
    # Not specified.
    ATTESTATION_FORMAT_UNSPECIFIED = 0

    # Cavium HSM attestation compressed with gzip. Note that this format is
    # defined by Cavium and subject to change at any time.
    CAVIUM_V1_COMPRESSED = 3

    # Cavium HSM attestation V2 compressed with gzip. This is a new format
    # introduced in Cavium's version 3.2-08.
    CAVIUM_V2_COMPRESSED = 4
  end
end

#formatGoogle::Cloud::Kms::V1::KeyOperationAttestation::AttestationFormat

Returns Output only. The format of the attestation data.

Returns:



146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# File 'lib/google/cloud/kms/v1/doc/google/cloud/kms/v1/resources.rb', line 146

class KeyOperationAttestation
  # Attestation formats provided by the HSM.
  module AttestationFormat
    # Not specified.
    ATTESTATION_FORMAT_UNSPECIFIED = 0

    # Cavium HSM attestation compressed with gzip. Note that this format is
    # defined by Cavium and subject to change at any time.
    CAVIUM_V1_COMPRESSED = 3

    # Cavium HSM attestation V2 compressed with gzip. This is a new format
    # introduced in Cavium's version 3.2-08.
    CAVIUM_V2_COMPRESSED = 4
  end
end