menu
CryptoCertificateVerifyResult
import { CryptoCertificateVerifyResult } from "destack:crypto/binding";
Certificate chain verify result.
1export struct CryptoCertificateVerifyResult {2 isValid: boolean;3 error: CryptoCertificateVerifyError;4 errorCode: uint32;5 failedCertificateIndex: uint32;6 failedCertificateSubject: string;7 chainLength: uint32;8 usedSystemTrustAnchor: boolean;9}Members
isValid: booleanWhether the chain validates.
error: CryptoCertificateVerifyErrorNormalized verification error class.
errorCode: uint32Provider or runtime error code when validation fails.
failedCertificateIndex: uint32Index of the first failing certificate in the evaluated chain.
failedCertificateSubject: stringSubject string of the first failing certificate when available.
chainLength: uint32Number of certificates in the verified chain.
usedSystemTrustAnchor: booleanWhether one system trust anchor was used.