class Google::Apis::PrivatecaV1::AllowedKeyType

Describes a “type” of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully- qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.

Attributes

elliptic_curve[RW]

Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool. Corresponds to the JSON property `ellipticCurve` @return [Google::Apis::PrivatecaV1::EcKeyType]

rsa[RW]

Describes an RSA key that may be used in a Certificate issued from a CaPool. Corresponds to the JSON property `rsa` @return [Google::Apis::PrivatecaV1::RsaKeyType]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 112
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1/classes.rb, line 117
def update!(**args)
  @elliptic_curve = args[:elliptic_curve] if args.key?(:elliptic_curve)
  @rsa = args[:rsa] if args.key?(:rsa)
end