pub struct FullCmcResponse { /* private fields */ }Expand description
Full CMC response (RFC 7030 §4.3.2).
Contains a CMC PKIResponse message wrapped in a PKCS#7 SignedData structure.
The response includes:
- Status information for each request
- Issued certificates (on success)
- Error details (on failure)
- Transaction IDs for pending requests
Implementations§
Source§impl FullCmcResponse
impl FullCmcResponse
Sourcepub fn into_cmc_der(self) -> Vec<u8> ⓘ
pub fn into_cmc_der(self) -> Vec<u8> ⓘ
Consumes self and returns the DER-encoded CMC data.
Sourcepub fn from_base64(base64_data: &str) -> EstResult<Self>
pub fn from_base64(base64_data: &str) -> EstResult<Self>
Decodes a base64-encoded Full CMC response.
Trait Implementations§
Source§impl Clone for FullCmcResponse
impl Clone for FullCmcResponse
Source§fn clone(&self) -> FullCmcResponse
fn clone(&self) -> FullCmcResponse
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 Debug for FullCmcResponse
impl Debug for FullCmcResponse
Source§impl<'de> Deserialize<'de> for FullCmcResponse
impl<'de> Deserialize<'de> for FullCmcResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FullCmcResponse
impl PartialEq for FullCmcResponse
Source§impl Serialize for FullCmcResponse
impl Serialize for FullCmcResponse
impl Eq for FullCmcResponse
impl StructuralPartialEq for FullCmcResponse
Auto Trait Implementations§
impl Freeze for FullCmcResponse
impl RefUnwindSafe for FullCmcResponse
impl Send for FullCmcResponse
impl Sync for FullCmcResponse
impl Unpin for FullCmcResponse
impl UnsafeUnpin for FullCmcResponse
impl UnwindSafe for FullCmcResponse
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