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.



3594
3595
3596
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3594

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)


3586
3587
3588
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3586

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)


3592
3593
3594
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3592

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3599
3600
3601
3602
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3599

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