Constructor
new CertPath(certStore)
A class for building and validating certification paths (also known as certificate chains).
Parameters:
| Name | Type | Description |
|---|---|---|
certStore |
GostCert.CertStore |
- Source:
Methods
-
build(certificate, date) → {Promise}
-
Attempts to build a certification path using the specified algorithm parameter set.
Parameters:
Name Type Description certificateGostCert.X509 Starting path certificate dateDate Validation date. Default today - Source:
Returns:
Promise to return array of GostCert.X509 with certification path- Type
- Promise