pub struct SignAttestationRequest<'a> {
pub artifact_path: &'a Path,
pub sbom_path: &'a Path,
pub source_revision: &'a str,
pub cargo_lock_sha256: &'a str,
pub toolchain: &'a str,
pub build_configuration: &'a str,
pub app_contract_sha256: &'a str,
pub private_key_pkcs8: &'a [u8],
}Expand description
Inputs required to create one signed release provenance statement.
§Fields
artifact_path: Stored field onSignAttestationRequest.sbom_path: Stored field onSignAttestationRequest.source_revision: Stored field onSignAttestationRequest.cargo_lock_sha256: Stored field onSignAttestationRequest.toolchain: Stored field onSignAttestationRequest.build_configuration: Stored field onSignAttestationRequest.app_contract_sha256: Stored field onSignAttestationRequest.private_key_pkcs8: Stored field onSignAttestationRequest.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_ops::provenance::SignAttestationRequest>();§Related
crate::provenancefor constructors, helpers, and neighboring runtime types.
Fields§
§artifact_path: &'a Path§sbom_path: &'a Path§source_revision: &'a str§cargo_lock_sha256: &'a str§toolchain: &'a str§build_configuration: &'a str§app_contract_sha256: &'a str§private_key_pkcs8: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for SignAttestationRequest<'a>
impl<'a> RefUnwindSafe for SignAttestationRequest<'a>
impl<'a> Send for SignAttestationRequest<'a>
impl<'a> Sync for SignAttestationRequest<'a>
impl<'a> Unpin for SignAttestationRequest<'a>
impl<'a> UnsafeUnpin for SignAttestationRequest<'a>
impl<'a> UnwindSafe for SignAttestationRequest<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more