SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

TimestampTimestampType Property

Returns the timestamp type.

Syntax

 pdfverifier.getTimestampTimestampType([callback])

Possible Values

  0 (tstUnknown), 
  1 (tstLegacy), 
  2 (tstTrusted), 
  3 (tstGeneric), 
  4 (tstESC), 
  5 (tstContent), 
  6 (tstCertsAndCRLs), 
  7 (tstArchive), 
  8 (tstArchive2), 
  9 (tstArchive3), 
  10 (tstIndividualDataObjects), 
  11 (tstAllDataObjects), 
  12 (tstSignature), 
  13 (tstRefsOnly), 
  14 (tstSigAndRefs)

Default Value

0

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for the getTimestampTimestampType([callback]) method is defined as:

function(err, data){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'data' is the value returned by the method.

The callback for the setTimestampTimestampType([callback]) method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

Returns the timestamp type.

Available options:

tstUnknown0
tstLegacy1Supported by: AuthenticodeVerifier

tstTrusted2Supported by: AuthenticodeVerifier

tstGeneric3Supported by: CAdESVerifier

tstESC4Supported by: CAdESVerifier

tstContent5Supported by: CAdESVerifier

tstCertsAndCRLs6Supported by: CAdESVerifier

tstArchive7Archive timestamp. Supported by: CAdESVerifier, OfficeVerifier, SOAPVerifier, XAdESVerifier

tstArchive28Archive v2 timestamp. Supported by: CAdESVerifier

tstArchive39Archive v3 timestamp. Supported by: CAdESVerifier

tstIndividualDataObjects10Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier

tstAllDataObjects11Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier

tstSignature12Signature timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier

tstRefsOnly13RefsOnly timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier

tstSigAndRefs14SigAndRefs timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]