Why does rsa::Keypair
hold Arc<RsaKeyPair>
while others doesn't?
#3678
-
As the title suggest. This particular keypair is essentially holding a reference that is not mutable. Why? If it's performance-related, why don't other types of keypair do the same? |
Beta Was this translation helpful? Give feedback.
Answered by
thomaseizinger
Mar 26, 2023
Replies: 1 comment 1 reply
-
It is wrapped in an |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thomaseizinger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is wrapped in an
Arc
to make theKeypair
type clonable.