WebCrypto GOST Class: PKIData

GostASN1. PKIData

Constructor

new PKIData()

PKIData Content Type

The PKIData content type is used for the Full PKI Request. A PKIData content type is identified by:
  id-cct-PKIData ::= {id-pkix id-cct(12) 2 }
The ASN.1 structure corresponding to the PKIData content type is:
  PKIData ::= SEQUENCE {
      controlSequence    SEQUENCE SIZE(0..MAX) OF TaggedAttribute,
      reqSequence        SEQUENCE SIZE(0..MAX) OF TaggedRequest,
      cmsSequence        SEQUENCE SIZE(0..MAX) OF TaggedContentInfo,
      otherMsgSequence   SEQUENCE SIZE(0..MAX) OF OtherMsg
  }
All certification requests encoded into a single PKIData SHOULD be for the same identity. RAs that batch process (see Section 6.17) are expected to place the PKI Requests received into the cmsSequence of a PKIData.

See GostASN1.ContentInfo and GostASN1.PKIResponse

RFC 5272 references http://tools.ietf.org/html/rfc5272
Properties:
Name Type Description
controlSequence Array.<GostASN1.Attributes>
reqSequence Array.<GostASN1.Sequence>
cmsSequence Array.<GostASN1.ContentInfo>
otherMsgSequence Array.<GostASN1.Sequence>
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