Struct rustls::server::common::ActiveCertifiedKey
source · pub(super) struct ActiveCertifiedKey<'a> {
key: &'a CertifiedKey,
ocsp: Option<&'a [u8]>,
sct_list: Option<&'a [u8]>,
}
Expand description
ActiveCertifiedKey wraps CertifiedKey and tracks OSCP and SCT state in a single handshake.
Fields§
§key: &'a CertifiedKey
§ocsp: Option<&'a [u8]>
§sct_list: Option<&'a [u8]>
Implementations§
source§impl<'a> ActiveCertifiedKey<'a>
impl<'a> ActiveCertifiedKey<'a>
pub(super) fn from_certified_key(key: &CertifiedKey) -> ActiveCertifiedKey<'_>
sourcepub(super) fn get_cert(&self) -> &[Certificate]
pub(super) fn get_cert(&self) -> &[Certificate]
Get the certificate chain
sourcepub(super) fn get_key(&self) -> &dyn SigningKey
pub(super) fn get_key(&self) -> &dyn SigningKey
Get the signing key
pub(super) fn get_ocsp(&self) -> Option<&[u8]>
pub(super) fn get_sct_list(&self) -> Option<&[u8]>
Auto Trait Implementations§
impl<'a> Freeze for ActiveCertifiedKey<'a>
impl<'a> !RefUnwindSafe for ActiveCertifiedKey<'a>
impl<'a> Send for ActiveCertifiedKey<'a>
impl<'a> Sync for ActiveCertifiedKey<'a>
impl<'a> Unpin for ActiveCertifiedKey<'a>
impl<'a> !UnwindSafe for ActiveCertifiedKey<'a>
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