WebCrypto GOST Class: Certificate

GostASN1. Certificate

Constructor

new Certificate()

The X.509 v3 certificate basic syntax is as follows. For signature calculation, the data that is to be signed is encoded using the ASN.1 distinguished encoding rules (DER) [X.690]. ASN.1 DER encoding is a tag, length, value encoding system for each element.
 Certificate  ::=  SEQUENCE  {
      tbsCertificate       TBSCertificate,
      signatureAlgorithm   AlgorithmIdentifier,
      signatureValue       BIT STRING  }
See GostASN1.TBSCertificate

RFC 5280 references http://tools.ietf.org/html/rfc5280
Properties:
Name Type Description
tbsCertificate GostASN1.TBSCertificate The sequence TBSCertificate
signatureAlgorithm AlgorithmIndentifier Identifies signature algorithm
signatureValue CryptoOperationData Signature value
Source:

Extends

Methods

check()

Check the object structure
Inherited From:
Source:

decode(source)

Decode the source to self object
Parameters:
Name Type Description
source FormatedData Encoded data
Inherited From:
Source:

encode(format) → {FormatedData}

Encode the object
Parameters:
Name Type Description
format string Encoding format 'DER', 'CER' or 'PEM'
Inherited From:
Source:
Returns:
Type
FormatedData