Skip to content

AddTrustedCertificate

Adds the specified certificate as a trusted root certificate.

1
$Crypto.AddTrustedCertificate(cert: Certificate):void

Parameters

Certificate cert
    The certificate to add as a trusted root certificate.

Remarks

The certificate is added to the trusted root certificates to be used in verification operations.

Types

Certificate

CommonName : string
The common name of the certificate.

SerialNumber : string
The serial number of the certificate.