pkcs1: split der objects into *Ref and *Owned - #2411
Conversation
I generally use |
RsaPublicKey into RsaPublicKeyRef and RsaPublicKeyOwned*Ref and *Owned
|
I had to add |
|
I'd prefer not to add additional traits in this PR, particularly ones unrelated to Any reason it can't just be If we really need to add |
|
I guess the main problem is there's a divergence between |
|
I think But I can add |
|
No, that doesn't seem like a good solution either. One thing that's annoying is So I guess we can do |
|
Edit: I misunderstood you wanted fn as_uint_ref<'a>(&'a self) -> &UintRef<'a>;
|
|
I think I don't think there should be a need to add/remove any other methods. |
This is needed for `pkcs1` generic `*Ref` and `*Owned` split
patch rsa crate with RustCrypto/RSA commit rev pkcs1: pub use RsaPublicKey use RsaPublicKey #[cfg(doc)] pkcs1: replace UintType with U pkcs1: split RsaPrivateKey info RsaPrivateKeyRef and Owned bump RSA patch git commit rev
adf5efa to
9279a2e
Compare
Generic
RefandOwnedaliases ofderobjectspkcs1progress:OtherPrimeInfoRsaOaepParamsRsaPrivateKeyRsaPssParamsRsaPublicKeyRelated issue: