Class: Google::Apis::PrivatecaV1::EcKeyType

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

Overview

Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EcKeyType

Returns a new instance of EcKeyType.



1107
1108
1109
# File 'lib/google/apis/privateca_v1/classes.rb', line 1107

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

Instance Attribute Details

#signature_algorithmString

Optional. A signature algorithm that must be used. If this is omitted, any EC- based signature algorithm will be allowed. Corresponds to the JSON property signatureAlgorithm

Returns:

  • (String)


1105
1106
1107
# File 'lib/google/apis/privateca_v1/classes.rb', line 1105

def signature_algorithm
  @signature_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1112
1113
1114
# File 'lib/google/apis/privateca_v1/classes.rb', line 1112

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