diff options
author | Matthew Miller <matthew@millerti.me> | 2020-07-12 11:32:15 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-07-12 11:32:15 -0700 |
commit | cf4d1ce882ff38b995d02f3294863f34f3efb216 (patch) | |
tree | d4882d63216d7b6210c390fcefcc2cb6b968a945 | |
parent | 02d135d7815aee958e9c2b9b134c7b3d1f7a710c (diff) |
Add comment to TPM parseCertInfo
-rw-r--r-- | packages/server/src/attestation/verifications/tpm/parseCertInfo.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/server/src/attestation/verifications/tpm/parseCertInfo.ts b/packages/server/src/attestation/verifications/tpm/parseCertInfo.ts index af02229..e7c9225 100644 --- a/packages/server/src/attestation/verifications/tpm/parseCertInfo.ts +++ b/packages/server/src/attestation/verifications/tpm/parseCertInfo.ts @@ -1,5 +1,8 @@ import { TPM_ST, TPM_ALG } from './constants'; +/** + * Cut up a TPM attestation's certInfo into intelligible chunks + */ export default function parseCertInfo(certInfo: Buffer): ParsedCertInfo { let certBuffer = certInfo; |