Struct google_iamcredentials1::api::SignBlobResponse
source · pub struct SignBlobResponse {
pub key_id: Option<String>,
pub signed_blob: Option<Vec<u8>>,
}
Expand description
There is no detailed description.
§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).
- service accounts sign blob projects (response)
Fields§
§key_id: Option<String>
The ID of the key used to sign the blob. The key used for signing will remain valid for at least 12 hours after the blob is signed. To verify the signature, you can retrieve the public key in several formats from the following endpoints: - RSA public key wrapped in an X.509 v3 certificate: https://www.googleapis.com/service_accounts/v1/metadata/x509/{ACCOUNT_EMAIL}
- Raw key in JSON format: https://www.googleapis.com/service_accounts/v1/metadata/raw/{ACCOUNT_EMAIL}
- JSON Web Key (JWK): https://www.googleapis.com/service_accounts/v1/metadata/jwk/{ACCOUNT_EMAIL}
signed_blob: Option<Vec<u8>>
The signature for the blob. Does not include the original blob. After the key pair referenced by the key_id
response field expires, Google no longer exposes the public key that can be used to verify the blob. As a result, the receiver can no longer verify the signature.
Trait Implementations§
source§impl Clone for SignBlobResponse
impl Clone for SignBlobResponse
source§fn clone(&self) -> SignBlobResponse
fn clone(&self) -> SignBlobResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more