AddCertificate¶
Adds the specified certificate to the context for later use.
$Crypto.AddCertificate(cert: CommonName : string
The common name of the certificate.
SerialNumber : string
The serial number of the certificate.
Logout() : void
Logs out from the PKCS11 device.
TryLogin(pin: string) : string
Tries to log in to the PKCS11 device with the given PIN.):void
Parameters¶
CommonName : string
The common name of the certificate.
SerialNumber : string
The serial number of the certificate.
Logout() : void
Logs out from the PKCS11 device.
TryLogin(pin: string) : string
Tries to log in to the PKCS11 device with the given PIN. cert
The certificate to add to the context.
Remarks¶
The certificate is added only to the current script's crypto context for later signing or verification operations; it is not persisted as a domain certificate configuration.