pub struct CreateRevocableClientResponse {
pub user_pk: Option<UserPk>,
pub pubkey: PublicKey,
pub created_at: TimestampMs,
pub eph_ca_cert_der: Vec<u8>,
pub rev_client_cert_der: Vec<u8>,
pub rev_client_cert_key_der: Vec<u8>,
}Expand description
The response to CreateRevocableClientRequest.
Fields§
§user_pk: Option<UserPk>The user public key associated with these credentials.
Always Some since node-v0.8.11.
pubkey: PublicKeyThe client cert pubkey.
created_at: TimestampMsWhen this client was created.
eph_ca_cert_der: Vec<u8>The DER-encoded ephemeral issuing CA cert that the client should trust.
This is just packaged alongside the rest for convenience.
rev_client_cert_der: Vec<u8>The DER-encoded client cert to present when connecting to the node.
rev_client_cert_key_der: Vec<u8>The DER-encoded client cert key.
Trait Implementations§
Source§impl Clone for CreateRevocableClientResponse
impl Clone for CreateRevocableClientResponse
Source§fn clone(&self) -> CreateRevocableClientResponse
fn clone(&self) -> CreateRevocableClientResponse
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<'de> Deserialize<'de> for CreateRevocableClientResponse
impl<'de> Deserialize<'de> for CreateRevocableClientResponse
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
Auto Trait Implementations§
impl Freeze for CreateRevocableClientResponse
impl RefUnwindSafe for CreateRevocableClientResponse
impl Send for CreateRevocableClientResponse
impl Sync for CreateRevocableClientResponse
impl Unpin for CreateRevocableClientResponse
impl UnsafeUnpin for CreateRevocableClientResponse
impl UnwindSafe for CreateRevocableClientResponse
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