Reference documentation and code samples for the Certificate 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
    
  - (::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 
KeyFormatvalue specified for theformatfield. 
#key=
def key=(value) -> ::String
    Parameter
    
  - 
        value (::String) — Required. A public key. The padding and encoding
must match with the 
KeyFormatvalue specified for theformatfield. 
    Returns
    
- 
        (::String) — Required. A public key. The padding and encoding
must match with the 
KeyFormatvalue specified for theformatfield.