forked from RustCrypto/formats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spki: add
AssociatedAlgorithmIdentifier::Params
type (RustCrypto#966)
Adds an associated `Params` type which is passed as `AlgorithmIdentifier<Params>`, which makes it *much* easier to define `AlgorithmIdentifier` constants. Without this, `const fn` type conversions are required to `AnyRef<'static>`. This isn't currently possible for `ObjectIdentifier` for example.
- Loading branch information
Showing
1 changed file
with
15 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters