Struct google_privateca1_beta1::api::PublicKey
source · pub struct PublicKey {
pub key: Option<Vec<u8>>,
pub type_: Option<String>,
}
Expand description
A PublicKey describes a public key.
This type is not used in any activity, and only used as part of another schema.
Fields§
§key: Option<Vec<u8>>
Required. A public key. When this is specified in a request, the padding and encoding can be any of the options described by the respective ‘KeyType’ value. When this is generated by the service, it will always be an RFC 5280 SubjectPublicKeyInfo structure containing an algorithm identifier and a key.
type_: Option<String>
Optional. The type of public key. If specified, it must match the public key used for thekey
field.
Trait Implementations§
source§impl<'de> Deserialize<'de> for PublicKey
impl<'de> Deserialize<'de> for PublicKey
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more