pub struct LibQCryptoProvider { /* private fields */ }Expand description
Main lib-Q cryptographic provider
This provider implements the CryptoProvider trait and delegates to specific operation providers for each cryptographic operation type. It serves as the main entry point for all lib-Q cryptographic operations.
Implementations§
Source§impl LibQCryptoProvider
impl LibQCryptoProvider
Sourcepub fn kem_provider(&self) -> &LibQKemProvider
pub fn kem_provider(&self) -> &LibQKemProvider
Get the KEM provider
Sourcepub fn signature_provider(&self) -> &LibQSignatureProvider
pub fn signature_provider(&self) -> &LibQSignatureProvider
Get the signature provider
Sourcepub fn hash_provider(&self) -> &LibQHashProvider
pub fn hash_provider(&self) -> &LibQHashProvider
Get the hash provider
Sourcepub fn aead_provider(&self) -> &LibQAeadStubProvider
pub fn aead_provider(&self) -> &LibQAeadStubProvider
Get the stub AEAD provider (use lib-q-aead for real AEAD).
Trait Implementations§
Source§impl Clone for LibQCryptoProvider
impl Clone for LibQCryptoProvider
Source§fn clone(&self) -> LibQCryptoProvider
fn clone(&self) -> LibQCryptoProvider
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 CryptoProvider for LibQCryptoProvider
Available on crate feature std only.
impl CryptoProvider for LibQCryptoProvider
Available on crate feature
std only.fn kem(&self) -> Option<&dyn KemOperations>
fn signature(&self) -> Option<&dyn SignatureOperations>
fn hash(&self) -> Option<&dyn HashOperations>
fn aead(&self) -> Option<&dyn AeadOperations>
Auto Trait Implementations§
impl Freeze for LibQCryptoProvider
impl RefUnwindSafe for LibQCryptoProvider
impl Send for LibQCryptoProvider
impl Sync for LibQCryptoProvider
impl Unpin for LibQCryptoProvider
impl UnsafeUnpin for LibQCryptoProvider
impl UnwindSafe for LibQCryptoProvider
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