[−][src]Struct google_containeranalysis1_beta1::BuildSignature
Message encapsulating the signature of the verified build.
This type is not used in any activity, and only used as part of another schema.
Fields
public_key: Option<String>Public key of the builder which can be used to verify that the related
findings are valid and unchanged. If key_type is empty, this defaults
to PEM encoded public keys.
This field may be empty if key_id references an external key.
For Cloud Build based signatures, this is a PEM encoded public
key. To verify the Cloud Build signature, place the contents of
this field into a file (public.pem). The signature field is base64-decoded
into its binary representation in signature.bin, and the provenance bytes
from BuildDetails are base64-decoded into a binary representation in
signed.bin. OpenSSL can then verify the signature:
openssl sha256 -verify public.pem -signature signature.bin signed.bin
key_type: Option<String>The type of the key, either stored in public_key or referenced in
key_id.
key_id: Option<String>An ID for the key used to sign. This could be either an ID for the key
stored in public_key (such as the ID or fingerprint for a PGP key, or the
CN for a cert), or a reference to an external key (such as a reference to a
key in Cloud Key Management Service).
signature: Option<String>Required. Signature of the related BuildProvenance. In JSON, this is
base-64 encoded.
Trait Implementations
impl Clone for BuildSignature[src]
fn clone(&self) -> BuildSignature[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for BuildSignature[src]
impl Default for BuildSignature[src]
fn default() -> BuildSignature[src]
impl<'de> Deserialize<'de> for BuildSignature[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for BuildSignature[src]
impl Serialize for BuildSignature[src]
Auto Trait Implementations
impl RefUnwindSafe for BuildSignature
impl Send for BuildSignature
impl Sync for BuildSignature
impl Unpin for BuildSignature
impl UnwindSafe for BuildSignature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,