Class: Google::Apis::CloudkmsV1::KeyOperationAttestation
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::KeyOperationAttestation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb
Overview
Contains an HSM-generated attestation about a key operation. For more information, see Verifying attestations.
Instance Attribute Summary collapse
-
#cert_chains ⇒ Google::Apis::CloudkmsV1::CertificateChains
Certificate chains needed to verify the attestation.
-
#content ⇒ String
Output only.
-
#format ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyOperationAttestation
constructor
A new instance of KeyOperationAttestation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyOperationAttestation
Returns a new instance of KeyOperationAttestation.
1121 1122 1123 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cert_chains ⇒ Google::Apis::CloudkmsV1::CertificateChains
Certificate chains needed to verify the attestation. Certificates in chains
are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#
section-7.4.2.
Corresponds to the JSON property certChains
1107 1108 1109 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1107 def cert_chains @cert_chains end |
#content ⇒ String
Output only. The attestation data provided by the HSM when the key operation
was performed.
Corresponds to the JSON property content
NOTE: Values are automatically base64 encoded/decoded in the client library.
1114 1115 1116 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1114 def content @content end |
#format ⇒ String
Output only. The format of the attestation data.
Corresponds to the JSON property format
1119 1120 1121 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1119 def format @format end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1126 1127 1128 1129 1130 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1126 def update!(**args) @cert_chains = args[:cert_chains] if args.key?(:cert_chains) @content = args[:content] if args.key?(:content) @format = args[:format] if args.key?(:format) end |