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.



3632
3633
3634
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3632

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)


3624
3625
3626
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3624

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)


3630
3631
3632
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3630

def sig
  @sig
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3637
3638
3639
3640
# File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 3637

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