FlowGuard API - v1.2.0-tp.1
Preparing search index...
flowguard
MockTimestampVerifier
Class MockTimestampVerifier
Implements
TimestampVerifier
Index
Constructors
constructor
Methods
verify
Token
Constructors
constructor
new
MockTimestampVerifier
(
opts
?:
{
expectedToken
?:
string
;
defaultStatus
?:
"valid"
|
"invalid"
;
failOnMismatch
?:
boolean
;
}
,
)
:
MockTimestampVerifier
Parameters
Optional
opts
:
{
expectedToken
?:
string
;
defaultStatus
?:
"valid"
|
"invalid"
;
failOnMismatch
?:
boolean
;
}
Returns
MockTimestampVerifier
Methods
verify
Token
verifyToken
(
input
:
{
tokenDerBase64
:
string
;
expectedDigest
:
Uint8Array
;
digestAlgorithm
:
"sha256"
;
trustAnchors
:
string
[]
;
}
,
)
:
Promise
<
{
status
:
"valid"
|
"invalid"
;
tsaTimestamp
?:
string
;
policyOid
?:
string
;
serialNumber
?:
string
;
signerSubject
?:
string
;
reason
?:
string
;
}
,
>
Parameters
input
:
{
tokenDerBase64
:
string
;
expectedDigest
:
Uint8Array
;
digestAlgorithm
:
"sha256"
;
trustAnchors
:
string
[]
;
}
Returns
Promise
<
{
status
:
"valid"
|
"invalid"
;
tsaTimestamp
?:
string
;
policyOid
?:
string
;
serialNumber
?:
string
;
signerSubject
?:
string
;
reason
?:
string
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
verify
Token
FlowGuard API - v1.2.0-tp.1
Loading...