In the latest release of spki it was changed to have generic AlgorithmIdentifier and SubjectPublicKeyInfo, 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.
In the latest release of
spkiit was changed to have genericAlgorithmIdentifierandSubjectPublicKeyInfo, along with*Ownedand*Reftype 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.
pkcs1OtherPrimeInfoRsaOaepParamsRsaPrivateKeyRsaPssParamsRsaPublicKeypkcs5pkcs5: remove lifetimes #1195pbes2::kdf::Kdfpbes2::EncryptionSchemepbes2::ParametersEncryptionSchemepkcs8pkcs8: provide PrivateKeyInfoRef/PrivateKeyInfoOwned #1483PrivateKeyInfoEncryptedPrivateKeyInfosec1EcPrivateKey