Class: Google::Apis::PrivatecaV1::EcKeyType
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::EcKeyType
- 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
-
#signature_algorithm ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EcKeyType
constructor
A new instance of EcKeyType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EcKeyType
Returns a new instance of EcKeyType.
1005 1006 1007 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1005 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signature_algorithm ⇒ String
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
1003 1004 1005 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1003 def signature_algorithm @signature_algorithm end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1010 1011 1012 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1010 def update!(**args) @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm) end |