pub struct DetachedJwsRecoverySigning<A>(/* private fields */);Trait Implementations§
Source§impl<A, S, T> SignatureAlgorithm<S, T> for DetachedJwsRecoverySigning<A>where
S: CryptographicSuite,
<S as CryptographicSuite>::PreparedClaims: AsRef<[u8]>,
<S as CryptographicSuite>::ProofOptions: RecoverPublicJwk,
A: Clone + Into<Algorithm> + AlgorithmSelection<<S as CryptographicSuite>::VerificationMethod, <S as CryptographicSuite>::ProofOptions>,
T: MessageSigner<A>,
impl<A, S, T> SignatureAlgorithm<S, T> for DetachedJwsRecoverySigning<A>where
S: CryptographicSuite,
<S as CryptographicSuite>::PreparedClaims: AsRef<[u8]>,
<S as CryptographicSuite>::ProofOptions: RecoverPublicJwk,
A: Clone + Into<Algorithm> + AlgorithmSelection<<S as CryptographicSuite>::VerificationMethod, <S as CryptographicSuite>::ProofOptions>,
T: MessageSigner<A>,
async fn sign( verification_method: &<S as CryptographicSuite>::VerificationMethod, signer: T, prepared_claims: <S as CryptographicSuite>::PreparedClaims, proof_configuration: ProofConfigurationRef<'_, S>, ) -> Result<<DetachedJwsRecoverySigning<A> as SignatureAndVerificationAlgorithm>::Signature, SignatureError>
Source§impl<A, S> VerificationAlgorithm<S> for DetachedJwsRecoverySigning<A>where
S: CryptographicSuite<Signature = DetachedJwsSignature>,
<S as CryptographicSuite>::PreparedClaims: AsRef<[u8]>,
<S as CryptographicSuite>::ProofOptions: RecoverPublicJwk,
<S as CryptographicSuite>::VerificationMethod: VerifyBytesWithRecoveryJwk<A>,
A: TryFrom<Algorithm>,
impl<A, S> VerificationAlgorithm<S> for DetachedJwsRecoverySigning<A>where
S: CryptographicSuite<Signature = DetachedJwsSignature>,
<S as CryptographicSuite>::PreparedClaims: AsRef<[u8]>,
<S as CryptographicSuite>::ProofOptions: RecoverPublicJwk,
<S as CryptographicSuite>::VerificationMethod: VerifyBytesWithRecoveryJwk<A>,
A: TryFrom<Algorithm>,
fn verify( verification_method: &<S as CryptographicSuite>::VerificationMethod, prepared_claims: <S as CryptographicSuite>::PreparedClaims, proof: ProofRef<'_, S>, ) -> Result<Result<(), InvalidProof>, ProofValidationError>
Auto Trait Implementations§
impl<A> Freeze for DetachedJwsRecoverySigning<A>
impl<A> RefUnwindSafe for DetachedJwsRecoverySigning<A>where
A: RefUnwindSafe,
impl<A> Send for DetachedJwsRecoverySigning<A>where
A: Send,
impl<A> Sync for DetachedJwsRecoverySigning<A>where
A: Sync,
impl<A> Unpin for DetachedJwsRecoverySigning<A>where
A: Unpin,
impl<A> UnwindSafe for DetachedJwsRecoverySigning<A>where
A: UnwindSafe,
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.