pub struct KeyGenResult {
pub key_id: String,
pub public_key_der: Vec<u8>,
pub wrapped_private_key: Option<Vec<u8>>,
}Expand description
Result of a server-side key generation request.
Fields§
§key_id: StringKRA key identifier for the archived key.
public_key_der: Vec<u8>DER-encoded public key.
wrapped_private_key: Option<Vec<u8>>Wrapped (encrypted) private key bytes, if returned.
The wrapping key is typically the transport certificate of the requesting agent. The EST client must unwrap this using the corresponding private key.
Trait Implementations§
Source§impl Clone for KeyGenResult
impl Clone for KeyGenResult
Source§fn clone(&self) -> KeyGenResult
fn clone(&self) -> KeyGenResult
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 moreAuto Trait Implementations§
impl Freeze for KeyGenResult
impl RefUnwindSafe for KeyGenResult
impl Send for KeyGenResult
impl Sync for KeyGenResult
impl Unpin for KeyGenResult
impl UnsafeUnpin for KeyGenResult
impl UnwindSafe for KeyGenResult
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