Class Index | File Index

Classes


Class KJUR.asn1.tsp.TimeStampReq


Extends KJUR.asn1.ASN1Object.
class for TSP TimeStampReq ASN.1 object
Defined in: asn1tsp-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
class for TSP TimeStampReq ASN.1 object
TimeStampReq ::= SEQUENCE  {
   version          INTEGER  { v1(1) },
   messageImprint   MessageImprint,
   reqPolicy        TSAPolicyId               OPTIONAL,
   nonce            INTEGER                   OPTIONAL,
   certReq          BOOLEAN                   DEFAULT FALSE,
   extensions       [0] IMPLICIT Extensions   OPTIONAL  }
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex, tohex
Class Detail
KJUR.asn1.tsp.TimeStampReq(params)
class for TSP TimeStampReq ASN.1 object
TimeStampReq ::= SEQUENCE  {
   version          INTEGER  { v1(1) },
   messageImprint   MessageImprint,
   reqPolicy        TSAPolicyId               OPTIONAL,
   nonce            INTEGER                   OPTIONAL,
   certReq          BOOLEAN                   DEFAULT FALSE,
   extensions       [0] IMPLICIT Extensions   OPTIONAL  }
new KJUR.asn1.tsp.TimeStampReq({
  messageImprint: {alg: "sha256", hash: "12ab..."},
  policy: "1.2.3.4.5",
  nonce: {hex: "1a2b..."},
  certreq: true
})
Parameters:
{Array} params
JSON object of parameters
Since:
jsrsasign 4.6.0 asn1tsp 1.0.0
See:
KJUR.asn1.tsp.MessageImprint

© 2012-2023 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0