pub struct DirectoryAuthority {
pub identifier: String,
pub pki_signature_scheme: String,
pub wire_kem_scheme: String,
pub addresses: Vec<String>,
pub identity_public_key_pem: String,
pub link_public_key_pem: String,
pub identity_key_hash: Vec<u8>,
}Expand description
A directory authority descriptor as held in the client daemon’s
configuration. The keys are conveyed in PEM so a consumer need not
link a key type to read them; identity_key_hash is the 32-byte
BLAKE2b-256 hash of the identity public key, the value by which a PKI
document’s signatures are indexed.
Fields§
§identifier: String§pki_signature_scheme: String§wire_kem_scheme: String§addresses: Vec<String>§identity_public_key_pem: String§link_public_key_pem: String§identity_key_hash: Vec<u8>Trait Implementations§
Source§impl Clone for DirectoryAuthority
impl Clone for DirectoryAuthority
Source§fn clone(&self) -> DirectoryAuthority
fn clone(&self) -> DirectoryAuthority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DirectoryAuthority
impl Debug for DirectoryAuthority
Source§impl<'de> Deserialize<'de> for DirectoryAuthority
impl<'de> Deserialize<'de> for DirectoryAuthority
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 DirectoryAuthority
impl RefUnwindSafe for DirectoryAuthority
impl Send for DirectoryAuthority
impl Sync for DirectoryAuthority
impl Unpin for DirectoryAuthority
impl UnsafeUnpin for DirectoryAuthority
impl UnwindSafe for DirectoryAuthority
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