TimestampTimestampType Property
Returns the timestamp type.
Syntax
asicverifier.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:
tstUnknown | 0 | |
tstLegacy | 1 | Supported by: AuthenticodeVerifier |
tstTrusted | 2 | Supported by: AuthenticodeVerifier |
tstGeneric | 3 | Supported by: CAdESVerifier |
tstESC | 4 | Supported by: CAdESVerifier |
tstContent | 5 | Supported by: CAdESVerifier |
tstCertsAndCRLs | 6 | Supported by: CAdESVerifier |
tstArchive | 7 | Archive timestamp. Supported by: CAdESVerifier, OfficeVerifier, SOAPVerifier, XAdESVerifier |
tstArchive2 | 8 | Archive v2 timestamp. Supported by: CAdESVerifier |
tstArchive3 | 9 | Archive v3 timestamp. Supported by: CAdESVerifier |
tstIndividualDataObjects | 10 | Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier |
tstAllDataObjects | 11 | Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier |
tstSignature | 12 | Signature timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier |
tstRefsOnly | 13 | RefsOnly timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier |
tstSigAndRefs | 14 | SigAndRefs timestamp. Supported by: OfficeVerifier, SOAPVerifier, XAdESVerifier |
This property is read-only and not available at design time.
Data Type
Integer