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
- (::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat) — Required. The format of the public key.
#format=
def format=(value) -> ::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat) — Required. The format of the public key.
Returns
- (::Google::Cloud::Security::PrivateCA::V1::PublicKey::KeyFormat) — Required. The format of the public key.
#key
def key() -> ::String
Returns
-
(::String) — Required. A public key. The padding and encoding
must match with the
KeyFormat
value specified for theformat
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 theformat
field.
Returns
-
(::String) — Required. A public key. The padding and encoding
must match with the
KeyFormat
value specified for theformat
field.