Class: Google::Apis::ContaineranalysisV1alpha1::EnvelopeSignature

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb

Overview

A DSSE signature

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnvelopeSignature

Returns a new instance of EnvelopeSignature.



4263
4264
4265
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4263

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyidString

A reference id to the key being used for signing Corresponds to the JSON property keyid

Returns:

  • (String)


4255
4256
4257
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4255

def keyid
  @keyid
end

#sigString

The signature itself Corresponds to the JSON property sig NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4261
4262
4263
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4261

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4268
4269
4270
4271
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 4268

def update!(**args)
  @keyid = args[:keyid] if args.key?(:keyid)
  @sig = args[:sig] if args.key?(:sig)
end