pub enum CertConfig<EC: Debug, EA: Debug = EC> {
LetsEncrypt {
config: AcmeConfig<EC, EA>,
},
Manual {
private_key: PrivateKeyDer<'static>,
certs: Vec<CertificateDer<'static>>,
},
}
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Available on crate feature
iroh-relay
only.Expand description
TLS certificate configuration.
Variants§
LetsEncrypt
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Use Let’s Encrypt.
Fields
§
config: AcmeConfig<EC, EA>
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Configuration for Let’s Encrypt certificates.
Manual
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Use a static TLS key and certificate chain.
Fields
§
private_key: PrivateKeyDer<'static>
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
The TLS private key.
§
certs: Vec<CertificateDer<'static>>
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
The TLS certificate chain.
Trait Implementations§
Auto Trait Implementations§
impl<EC, EA> Freeze for CertConfig<EC, EA>
impl<EC, EA = EC> !RefUnwindSafe for CertConfig<EC, EA>
impl<EC, EA> Send for CertConfig<EC, EA>
impl<EC, EA> Sync for CertConfig<EC, EA>
impl<EC, EA> Unpin for CertConfig<EC, EA>
impl<EC, EA = EC> !UnwindSafe for CertConfig<EC, EA>
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