Class Index | File Index

Classes


Class KJUR.asn1.tsp.MessageImprint


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

Class Summary
Constructor Attributes Constructor Name and Description
 
class for TSP MessageImprint ASN.1 object This is an ASN.1 encoder for Accuracy ASN.1 structure defined in RFC 3161 TSP section 2.4.2.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.tsp.MessageImprint(params)
class for TSP MessageImprint ASN.1 object This is an ASN.1 encoder for Accuracy ASN.1 structure defined in RFC 3161 TSP section 2.4.2.
MessageImprint ::= SEQUENCE  {
     hashAlgorithm                AlgorithmIdentifier,
     hashedMessage                OCTET STRING  }
// OLD
new KJUR.asn1.tsp.MessageImprint({
  hashAlg: 'sha256',
  hashValue: '1f3dea...'
});
// NEW
new KJUR.asn1.tsp.MessageImprint({
  alg: 'sha256',
  hash: '1f3dea...'
});
Parameters:
{Array} params
associative array of parameters
Since:
jsrsasign 4.6.0 asn1tsp 1.0.0

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