pub struct ScanSigningKey { /* private fields */ }Expand description
Ed25519 signing material for DSSE export.
Implementations§
Source§impl ScanSigningKey
impl ScanSigningKey
Sourcepub fn from_environment() -> Result<Option<Self>>
pub fn from_environment() -> Result<Option<Self>>
Load a signing key from the environment.
The secret may be provided as 32-byte hex or base64 in
DSFB_SCAN_SIGNING_KEY. DSFB_SCAN_KEY_ID overrides the derived key id.
Trait Implementations§
Source§impl Clone for ScanSigningKey
impl Clone for ScanSigningKey
Source§fn clone(&self) -> ScanSigningKey
fn clone(&self) -> ScanSigningKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScanSigningKey
impl RefUnwindSafe for ScanSigningKey
impl Send for ScanSigningKey
impl Sync for ScanSigningKey
impl Unpin for ScanSigningKey
impl UnsafeUnpin for ScanSigningKey
impl UnwindSafe for ScanSigningKey
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