pub struct CryptoConfig {
pub hash_algorithm: HashAlgorithmChoice,
pub signature_algorithm: SignatureAlgorithmChoice,
pub encryption_algorithm: EncryptionAlgorithmChoice,
pub key_derivation_algorithm: KeyDerivationAlgorithmChoice,
}Expand description
Global cryptographic configuration. This allows runtime selection of algorithms for all default operations. Defaults to the most secure algorithms available.
Fields§
§hash_algorithm: HashAlgorithmChoice§signature_algorithm: SignatureAlgorithmChoice§encryption_algorithm: EncryptionAlgorithmChoice§key_derivation_algorithm: KeyDerivationAlgorithmChoiceTrait Implementations§
Source§impl Clone for CryptoConfig
impl Clone for CryptoConfig
Source§fn clone(&self) -> CryptoConfig
fn clone(&self) -> CryptoConfig
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 moreSource§impl Debug for CryptoConfig
impl Debug for CryptoConfig
Source§impl Default for CryptoConfig
impl Default for CryptoConfig
Source§fn default() -> CryptoConfig
fn default() -> CryptoConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for CryptoConfig
impl PartialEq for CryptoConfig
impl Eq for CryptoConfig
impl StructuralPartialEq for CryptoConfig
Auto Trait Implementations§
impl Freeze for CryptoConfig
impl RefUnwindSafe for CryptoConfig
impl Send for CryptoConfig
impl Sync for CryptoConfig
impl Unpin for CryptoConfig
impl UnwindSafe for CryptoConfig
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