pub enum SignerFault {
Faithful,
PreHashes,
SignsBase64Text,
ReturnsBase64Url,
}Expand description
A deliberately wrong signer, for the controls that prove the shape check can fail.
Variants§
Faithful
The vault’s signing behavior: pure Ed25519 over decoded bytes, standard padded base64.
PreHashes
Signs a SHA-256 digest of the bytes instead of the bytes.
SignsBase64Text
Signs the base64 text of the payload instead of the decoded bytes.
ReturnsBase64Url
Returns the signature as unpadded base64url.
Trait Implementations§
Source§impl Clone for SignerFault
impl Clone for SignerFault
impl Copy for SignerFault
Source§impl Debug for SignerFault
impl Debug for SignerFault
impl Eq for SignerFault
Source§impl PartialEq for SignerFault
impl PartialEq for SignerFault
impl StructuralPartialEq for SignerFault
Auto Trait Implementations§
impl Freeze for SignerFault
impl RefUnwindSafe for SignerFault
impl Send for SignerFault
impl Sync for SignerFault
impl Unpin for SignerFault
impl UnsafeUnpin for SignerFault
impl UnwindSafe for SignerFault
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