#[non_exhaustive]pub enum CertificateSignature {
Ecdsa(PeerCurve, HashAlgorithm),
RsaPss(HashAlgorithm),
RsaPkcs1(HashAlgorithm),
Ed25519,
MlDsa(MlDsaParameterSet),
Unknown,
}Expand description
A certificate signature algorithm, independent of CertificateVerify schemes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ecdsa(PeerCurve, HashAlgorithm)
ECDSA with issuer curve and digest.
RsaPss(HashAlgorithm)
RSA-PSS with matching digest/MGF1 and digest-length salt.
RsaPkcs1(HashAlgorithm)
RSA PKCS#1 v1.5 with this digest.
Ed25519
Ed25519.
MlDsa(MlDsaParameterSet)
Pure ML-DSA.
Unknown
An unsupported algorithm or parameter OID; input bytes are omitted.
Trait Implementations§
Source§impl Clone for CertificateSignature
impl Clone for CertificateSignature
impl Copy for CertificateSignature
Source§impl Debug for CertificateSignature
impl Debug for CertificateSignature
impl Eq for CertificateSignature
Source§impl PartialEq for CertificateSignature
impl PartialEq for CertificateSignature
impl StructuralPartialEq for CertificateSignature
Auto Trait Implementations§
impl Forget for CertificateSignature
impl Freeze for CertificateSignature
impl Move for CertificateSignature
impl RefUnwindSafe for CertificateSignature
impl Send for CertificateSignature
impl Sync for CertificateSignature
impl Unpin for CertificateSignature
impl UnsafeUnpin for CertificateSignature
impl UnwindSafe for CertificateSignature
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