Struct google_cloudkms1::api::PublicKey [−][src]
pub struct PublicKey {
pub algorithm: Option<String>,
pub name: Option<String>,
pub pem: Option<String>,
pub pem_crc32c: Option<String>,
pub protection_level: Option<String>,
}
Expand description
The public key for a given CryptoKeyVersion. Obtained via GetPublicKey.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields
algorithm: Option<String>
The Algorithm associated with this key.
name: Option<String>
The name of the CryptoKeyVersion public key. Provided here for verification. NOTE: This field is in Beta.
pem: Option<String>
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
pem_crc32c: Option<String>
Integrity verification field. A CRC32C checksum of the returned PublicKey.pem. An integrity check of PublicKey.pem can be performed by computing the CRC32C checksum of PublicKey.pem and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. NOTE: This field is in Beta.
protection_level: Option<String>
The ProtectionLevel of the CryptoKeyVersion public key.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for PublicKey
impl UnwindSafe for PublicKey
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more