pub struct Certificates {
pub private_key: PrivateKey,
pub public_key_der: Vec<u8>,
pub signature_v1: Vec<u8>,
pub signature_v2: Vec<u8>,
pub expires_at: DateTime<Utc>,
pub refresh_after: DateTime<Utc>,
}Expand description
A chat signing certificate.
Fields§
§private_key: PrivateKeyThe RSA private key.
public_key_der: Vec<u8>The RSA public key encoded as DER.
signature_v1: Vec<u8>§signature_v2: Vec<u8>§expires_at: DateTime<Utc>§refresh_after: DateTime<Utc>Trait Implementations§
Source§impl Clone for Certificates
impl Clone for Certificates
Auto Trait Implementations§
impl Forget for Certificates
impl Freeze for Certificateswhere
*const [Limb] is !null: Freeze,
PhantomData<[Limb]>: Freeze,
*const ArcInner<MontyParams<BoxedUint>> is !null: Freeze,
PhantomData<ArcInner<MontyParams<BoxedUint>>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<Odd<BoxedUint>>: Freeze,
PhantomData<u8>: Freeze,
NonZero<i32>: Freeze,
Utc: Freeze,
impl Move for Certificates
impl RefUnwindSafe for Certificates
impl Send for Certificates
impl Sync for Certificates
impl Unpin for Certificates
impl UnsafeUnpin for Certificateswhere
*const [Limb] is !null: UnsafeUnpin,
PhantomData<[Limb]>: UnsafeUnpin,
*const ArcInner<MontyParams<BoxedUint>> is !null: UnsafeUnpin,
PhantomData<ArcInner<MontyParams<BoxedUint>>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<Odd<BoxedUint>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
Utc: UnsafeUnpin,
impl UnwindSafe for Certificateswhere
BoxRaw<[Limb]>: UnwindSafe,
Arc<MontyParams<BoxedUint>>: UnwindSafe,
RawVecInner: UnwindSafe,
NonZero<i32>: UnwindSafe,
Utc: UnwindSafe,
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