Ceritificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::PublicKey (v0.4.0)

Reference documentation and code samples for the Ceritificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::PublicKey.

A PublicKey describes a public key.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#format

def format() -> ::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat
Returns

#format=

def format=(value) -> ::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat
Parameter
Returns

#key

def key() -> ::String
Returns
  • (::String) — Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.

#key=

def key=(value) -> ::String
Parameter
  • value (::String) — Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.
Returns
  • (::String) — Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.