Reference documentation and code samples for the Certificate Authority Service V1beta1 API class Google::Cloud::Security::PrivateCA::V1beta1::PublicKey.
A PublicKey describes a public key.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
Returns
- (::String) — Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
#type
def type() -> ::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType) — Required. The type of public key.
#type=
def type=(value) -> ::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType
Parameter
- value (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType) — Required. The type of public key.
Returns
- (::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey::KeyType) — Required. The type of public key.