pub struct LocalCertificateAuthority { /* private fields */ }Implementations§
Source§impl LocalCertificateAuthority
impl LocalCertificateAuthority
pub fn generate() -> Result<GeneratedLocalCertificateAuthority, LocalCertificateAuthorityError>
pub fn from_der( certificate_der: Vec<u8>, private_key_der: &[u8], ) -> Result<Self, LocalCertificateAuthorityError>
pub fn certificate_der(&self) -> &[u8] ⓘ
pub fn certificate_pem(&self) -> String
pub fn certificate_sha256_hex(&self) -> String
Sourcepub fn certificate_sha1_hex(&self) -> String
pub fn certificate_sha1_hex(&self) -> String
SHA-1 is exposed only as the identifier required by macOS and Windows certificate-store removal commands. It is never used for trust.
Trait Implementations§
Source§impl Clone for LocalCertificateAuthority
impl Clone for LocalCertificateAuthority
Source§impl Debug for LocalCertificateAuthority
impl Debug for LocalCertificateAuthority
impl Eq for LocalCertificateAuthority
Auto Trait Implementations§
impl !RefUnwindSafe for LocalCertificateAuthority
impl !UnwindSafe for LocalCertificateAuthority
impl Freeze for LocalCertificateAuthority
impl Send for LocalCertificateAuthority
impl Sync for LocalCertificateAuthority
impl Unpin for LocalCertificateAuthority
impl UnsafeUnpin for LocalCertificateAuthority
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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