pub struct ConfidentialComputeGpuCertificate {
pub cert_chain_size: u32,
pub attestation_cert_chain_size: u32,
pub cert_chain: Vec<u8>,
pub attestation_cert_chain: Vec<u8>,
}Expand description
Returned from Device.confidential_compute_gpu_certificate()
Fields§
§cert_chain_size: u32The size of the certificate chain.
attestation_cert_chain_size: u32The size of the attestation certificate chain.
cert_chain: Vec<u8>The certificate chain, of size
ffi::bindings::NVML_GPU_CERT_CHAIN_SIZE == 4096 bytes.
attestation_cert_chain: Vec<u8>The attestation certificate chain, of size
ffi::bindings::NVML_GPU_ATTESTATION_CERT_CHAIN_SIZE == 5120 bytes.
Trait Implementations§
Source§impl Clone for ConfidentialComputeGpuCertificate
impl Clone for ConfidentialComputeGpuCertificate
Source§fn clone(&self) -> ConfidentialComputeGpuCertificate
fn clone(&self) -> ConfidentialComputeGpuCertificate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ConfidentialComputeGpuCertificate
impl PartialEq for ConfidentialComputeGpuCertificate
Source§fn eq(&self, other: &ConfidentialComputeGpuCertificate) -> bool
fn eq(&self, other: &ConfidentialComputeGpuCertificate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConfidentialComputeGpuCertificate
impl StructuralPartialEq for ConfidentialComputeGpuCertificate
Auto Trait Implementations§
impl Freeze for ConfidentialComputeGpuCertificate
impl RefUnwindSafe for ConfidentialComputeGpuCertificate
impl Send for ConfidentialComputeGpuCertificate
impl Sync for ConfidentialComputeGpuCertificate
impl Unpin for ConfidentialComputeGpuCertificate
impl UnwindSafe for ConfidentialComputeGpuCertificate
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