verifySCTsForCertificate
verifySCTsForCertificate(
certificate,issuerCertificate,logs,index?,crypto?):Promise<boolean[]>
Verify SignedCertificateTimestamp for specific certificate content Uses stored tbsView bytes, including their SCTs, when present. Otherwise, uses one encodeTBS() result for both the SCTs and signed data.
Parameters
Section titled “Parameters”certificate
Section titled “certificate”Certificate for which verification would be performed
issuerCertificate
Section titled “issuerCertificate”Certificate of the issuer of target certificate
Log[]
Array of objects with information about each CT Log (like here: https://ct.grahamedgecombe.com/logs.json)
index?
Section titled “index?”number = -1
Index of SignedCertificateTimestamp inside SignedCertificateTimestampList (for -1 would verify all)
crypto?
Section titled “crypto?”ICryptoEngine = ...
Crypto engine
Returns
Section titled “Returns”Promise<boolean[]>
Array of verification results