-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for generic (e.g. key) types and owned/ref aliases #1117
Comments
|
Ugh, splitting up Perhaps we can save |
At present, EncryptedPrivateKeyInfo is duplicated in #1165. |
Okay, I guess we should find a solution. Perhaps we can find a way to remove the lifetime that will still work on heapless targets. |
I don't think there is too much duplication though. Pretty sure I can make it work without too much drama. I'll take a shot at it later today. |
In the latest release of
spki
it was changed to have genericAlgorithmIdentifier
andSubjectPublicKeyInfo
, along with*Owned
and*Ref
type aliases. This allows either zero-copy decoding with a lifetime, or decoding to an owned type with no lifetime (which enables e.g. on-the-fly 1-pass PEM decoding, since you can't borrow bytes from a PEM input).However, other crates in this repo didn't receive a similar treatment. This is a tracking issue for those.
pkcs1
OtherPrimeInfo
RsaOaepParams
RsaPrivateKey
RsaPssParams
RsaPublicKey
pkcs5
pkcs5: remove lifetimes #1195pbes2::kdf::Kdf
pbes2::EncryptionScheme
pbes2::Parameters
EncryptionScheme
pkcs8
pkcs8: provide PrivateKeyInfoRef/PrivateKeyInfoOwned #1483PrivateKeyInfo
EncryptedPrivateKeyInfo
sec1
EcPrivateKey
The text was updated successfully, but these errors were encountered: