WebCrypto GOST Class: GostCert

GostCert

Constructor

new GostCert()

Provides facilities for handling certificates, CRLs, etc.
Source:

Classes

CertificateTrustPolicy
CertPath
CertStore
CRL
Request
TrustedCAPolicy
X509

Members

CertificateTrustPolicy :GostCert.CertificateTrustPolicy

A generic interface for implementing a particular certificate verification
Type:
Source:

CertPath :GostCert.CertPath

A class for building and validating certification paths (also known as certificate chains).
Type:
Source:

CertStore :GostCert.Request

A class for retrieving Certificates and CRLs from a repository.
Type:
Source:

CRL :GostCert.CRL

This class encapsulates a X.509 certificate revocation list (CRL) of RevokedCertificate objects.
Type:
Source:

options

Certificate templates
  • providerName - provider name for key generation, default 'CP-01'
  • subject - template of subject name {countryName: 'RU', commonName: 'Anonymous'}
  • caKeyUsage - default key usages for a CA certificates ['digitalSignature', 'nonRepudiation', 'keyEncipherment', 'dataEncipherment', 'keyAgreement', 'keyCertSign', 'cRLSign']
  • caExtKeyUsage - default extended key usages for a CA certificates ['serverAuth', 'clientAuth', 'codeSigning', 'emailProtection', 'ipsecEndSystem', 'ipsecTunnel', 'ipsecUser', 'timeStamping', 'OCSPSigning']
  • userKeyUsage - default key usages for a user certificate ['digitalSignature', 'nonRepudiation', 'keyEncipherment', 'dataEncipherment', 'keyAgreement'],
  • userExtKeyUsage - default extended key usages for user certificate ['clientAuth', 'emailProtection']
  • days - validity of the certificate in days, default 7305
Source:

Request :GostCert.Request

A class that encapsulates a DER-encoded PKCS #10 certificate request.
Type:
Source:

TrustedCAPolicy :GostCert.TrustedCAPolicy

A certificate trust policy based on a set of trusted root CAs.
Type:
Source:

X509 :GostCert.X509

This class encapsulates X.509 Version 3 certificates.
Type:
Source: