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.



2661
2662
2663
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2661

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)


2653
2654
2655
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2653

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)


2659
2660
2661
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2659

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2666
2667
2668
2669
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 2666

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