loadSecurityCommitmentsEqual
loadSecurityCommitmentsEqual(
trusted,candidate):boolean
Defined in: packages/core/src/load-security-state.ts:276
Compare a remotely supplied V4 tuple with the locally captured trust anchor. Group and epoch use exact equality. Every byte of every fixed-size hash is visited before returning, so hash-content comparison does not short-circuit on the first differing byte.
Parameters
Section titled “Parameters”trusted
Section titled “trusted”LoadSecurityCommitments | undefined
candidate
Section titled “candidate”LoadSecurityCommitments | undefined
Returns
Section titled “Returns”boolean