diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-18 22:46:42 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-18 22:46:42 -0700 |
commit | 5f21c2f49bf57af9dd8cb4b7d70bf4423a3a9923 (patch) | |
tree | 82f68c9397569f76895dff1e8cfef864ad464f9a /src/types.ts | |
parent | b25c0fa0277e59809d88e3950018b685e2d40e1e (diff) |
Add getCertificateInfo helper
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 927cdf4..0379ced 100644 --- a/src/types.ts +++ b/src/types.ts @@ -65,3 +65,9 @@ export type VerifiedAttestation = { base64CredentialID: string, }, }; + +export type CertificateInfo = { + subject: { [key: string]: string }, + version: number, + basicConstraintsCA: boolean, +}; |