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.



1031
1032
1033
# File 'lib/google/apis/privateca_v1/classes.rb', line 1031

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)


1029
1030
1031
# File 'lib/google/apis/privateca_v1/classes.rb', line 1029

def signature_algorithm
  @signature_algorithm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1036
1037
1038
# File 'lib/google/apis/privateca_v1/classes.rb', line 1036

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