feat(pq-algorithm-id/ts): phase 2 - implement conversion and x509 mapping apis (ENG-1915)#27
Merged
feat(pq-algorithm-id/ts): phase 2 - implement conversion and x509 mapping apis (ENG-1915)#27
Conversation
Member
Author
7 tasks
Greptile SummaryThis PR implements Phase 2 of the Key changes and observations:
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[AlgorithmName] -->|toOid| B[OID string]
B -->|fromOid| A
A -->|toJose| C[JoseIdentifier]
C -->|fromJose| A
A -->|toCose| D[CoseIdentifier]
D -->|fromCose| A
A -->|toX509AlgorithmIdentifier| E[X509AlgorithmIdentifier]
E -->|fromX509AlgorithmIdentifier| A
subgraph lookup.ts
direction TB
B
C
D
JOSE_MAP[JOSE_TO_NAME Map]
COSE_MAP[COSE_TO_NAME Map]
OID_LIB[pq-oid OID]
C -->|lookup| JOSE_MAP
D -->|lookup| COSE_MAP
B -->|validate| isCanonical[isCanonicalOid]
isCanonical -->|OID.toName| OID_LIB
end
subgraph x509.ts
direction TB
E
NP[normalizeParameters]
VP[validateParametersForAlgorithm]
E --> NP
NP --> VP
VP -->|policy check| REG[registry x509 policy]
end
subgraph registry.ts
direction TB
REG
RECORDS[IdentifierRecord array]
RECORDS --> JOSE_MAP
RECORDS --> COSE_MAP
RECORDS --> REG
end
Last reviewed commit: 3f96040 |
7 tasks
Merged
7 tasks
Member
Author
…ping apis (ENG-1915)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Package(s)
Languages
Checklist
biome check,cargo fmt)Related Issues