pub enum PqAlgorithm {
MlDsa44,
MlDsa65,
MlDsa87,
SlhDsaSha2_128f,
SlhDsaSha2_128s,
SlhDsaSha2_192f,
SlhDsaSha2_192s,
SlhDsaSha2_256f,
SlhDsaSha2_256s,
}Expand description
FIPS 204/205 parameter sets exposed by libxmlsec1’s experimental XML methods.
Variants§
MlDsa44
ML-DSA-44.
MlDsa65
ML-DSA-65.
MlDsa87
ML-DSA-87.
SlhDsaSha2_128f
SLH-DSA-SHA2-128f.
SlhDsaSha2_128s
SLH-DSA-SHA2-128s.
SlhDsaSha2_192f
SLH-DSA-SHA2-192f.
SlhDsaSha2_192s
SLH-DSA-SHA2-192s.
SlhDsaSha2_256f
SLH-DSA-SHA2-256f.
SlhDsaSha2_256s
SLH-DSA-SHA2-256s.
Implementations§
Source§impl PqAlgorithm
impl PqAlgorithm
Sourcepub const ALL: [Self; 9]
pub const ALL: [Self; 9]
Recognized experimental parameter sets; permission still requires policy.
Sourcepub const fn oid(self) -> &'static str
pub const fn oid(self) -> &'static str
PKIX OID, with parameters absent (RFC 9881 section 2 / RFC 9909 section 3). https://www.rfc-editor.org/rfc/rfc9881.html#section-2 https://www.rfc-editor.org/rfc/rfc9909.html#section-3
Sourcepub const fn signature_len(self) -> usize
pub const fn signature_len(self) -> usize
Exact signature wire width (FIPS 204 table 2 / FIPS 205 table 2).
Trait Implementations§
Source§impl Clone for PqAlgorithm
impl Clone for PqAlgorithm
impl Copy for PqAlgorithm
Source§impl Debug for PqAlgorithm
impl Debug for PqAlgorithm
impl Eq for PqAlgorithm
Source§impl Hash for PqAlgorithm
impl Hash for PqAlgorithm
Source§impl PartialEq for PqAlgorithm
impl PartialEq for PqAlgorithm
impl StructuralPartialEq for PqAlgorithm
Auto Trait Implementations§
impl Freeze for PqAlgorithm
impl RefUnwindSafe for PqAlgorithm
impl Send for PqAlgorithm
impl Sync for PqAlgorithm
impl Unpin for PqAlgorithm
impl UnsafeUnpin for PqAlgorithm
impl UnwindSafe for PqAlgorithm
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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