pub struct PqdsaVerificationAlgorithm { /* private fields */ }
Available on crate feature
unstable
and non-crate feature fips
only.Expand description
An PQDSA verification algorithm.
Trait Implementations§
Source§impl Debug for PqdsaVerificationAlgorithm
impl Debug for PqdsaVerificationAlgorithm
Source§impl VerificationAlgorithm for PqdsaVerificationAlgorithm
impl VerificationAlgorithm for PqdsaVerificationAlgorithm
Source§fn verify(
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>,
) -> Result<(), Unspecified>
👎Deprecated: please use VerificationAlgorithm::verify_sig
insteadAvailable on crate feature ring-sig-verify
only.
fn verify( &self, public_key: Input<'_>, msg: Input<'_>, signature: Input<'_>, ) -> Result<(), Unspecified>
VerificationAlgorithm::verify_sig
insteadring-sig-verify
only.Verifies the the signature of msg
using the public key public_key
.
§Errors
error::Unspecified
if the signature is invalid.
Source§fn verify_sig(
&self,
public_key: &[u8],
msg: &[u8],
signature: &[u8],
) -> Result<(), Unspecified>
fn verify_sig( &self, public_key: &[u8], msg: &[u8], signature: &[u8], ) -> Result<(), Unspecified>
Verifies the signature for msg
using the public_key
.
§Errors
error::Unspecified
if the signature is invalid.
impl Eq for PqdsaVerificationAlgorithm
impl StructuralPartialEq for PqdsaVerificationAlgorithm
Auto Trait Implementations§
impl Freeze for PqdsaVerificationAlgorithm
impl RefUnwindSafe for PqdsaVerificationAlgorithm
impl Send for PqdsaVerificationAlgorithm
impl Sync for PqdsaVerificationAlgorithm
impl Unpin for PqdsaVerificationAlgorithm
impl UnwindSafe for PqdsaVerificationAlgorithm
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