Class KJUR.asn1.tsp.TimeStampReq
Extends
KJUR.asn1.ASN1Object.
class for TSP TimeStampReq ASN.1 object
Defined in: asn1tsp-1.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
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 } |
- 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