pub trait RequestAkCert: Send + Sync {
// Required methods
fn create_ak_cert_request(
&self,
ak_pub_modulus: &[u8],
ak_pub_exponent: &[u8],
ek_pub_modulus: &[u8],
ek_pub_exponent: &[u8],
guest_input: &[u8],
) -> Result<Vec<u8>, Box<dyn Error + Send + Sync>>;
fn request_ak_cert<'life0, 'async_trait>(
&'life0 self,
request: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
A trait for requesting an AK cert.