pub struct RsaSigner {
key: Arc<RsaKeyPair>,
scheme: SignatureScheme,
encoding: &'static dyn RsaEncoding,
rng: Box<dyn SecureRandom + Send + Sync>,
}
Fields§
§key: Arc<RsaKeyPair>
§scheme: SignatureScheme
§encoding: &'static dyn RsaEncoding
§rng: Box<dyn SecureRandom + Send + Sync>
Implementations§
source§impl RsaSigner
impl RsaSigner
pub fn new( key: Arc<RsaKeyPair>, scheme: SignatureScheme, rng: Box<dyn SecureRandom + Send + Sync>, ) -> Box<dyn Signer>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RsaSigner
impl !RefUnwindSafe for RsaSigner
impl Send for RsaSigner
impl Sync for RsaSigner
impl Unpin for RsaSigner
impl !UnwindSafe for RsaSigner
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
§impl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
§type PreprendResult = Tail
type PreprendResult = Tail
The Resulting [
TupleList
], of an [Prepend::prepend()
] call,
including the prepended entry.