methodTsmX509TrustedCertificates.AddCertificate
function AddCertificate(const Cert: iCertificate; ExplicitTrust: Boolean; var Status: TCertStatusCode; AllowExpired: Boolean = False; AllowDuplicateKeyIdentifier: Boolean = False): Integer; override;
Adds a single certificate to the store after verifying it against the anchors already held (and any linked TrustedCACertificates). Pass ExplicitTrust=True to seed a trust anchor (e.g. loading your own CA roots into a CACertificates store); pass False to add an end-entity/intermediate that must chain to an existing anchor. Status returns why a cert was rejected, and a rejected cert can be retried from the OnCertNotAccepted handler. AllowExpired / AllowDuplicateKeyIdentifier relax the two most common rejections.