View Source GoogleApi.ContainerAnalysis.V1beta1.Model.BuildSignature (google_api_container_analysis v0.25.0)
Message encapsulating the signature of the verified build.
nil) - 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).
nil) - The type of the key, either stored in
public_keyor referenced in
nil) - Public key of the builder which can be used to verify that the related findings are valid and unchanged. If
key_typeis empty, this defaults to PEM encoded public keys. This field may be empty if
key_idreferences 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
BuildDetailsare 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
nil) - Required. Signature of the related
BuildProvenance. In JSON, this is base-64 encoded.