VerificationConfig constructor
const
VerificationConfig({
- String signatureMethod = 'canonical',
- String separator = '|',
- List<
String> ? canonicalFields, - String hashAlgorithm = 'sha256',
- String encoding = 'hex',
- String timestampFormat = 'milliseconds',
- String nonceFormat = 'uuid-v4',
- String customNonceGenerator()?,
- dynamic customTimestamp,
- String? customNonce,
- bool includeTimestampInSignature = true,
- bool includeNonceInSignature = true,
- bool sortJsonKeys = true,
- int timestampTolerance = 180000,
Implementation
const VerificationConfig({
super.signatureMethod,
super.separator,
super.canonicalFields,
super.hashAlgorithm,
super.encoding,
super.timestampFormat,
super.nonceFormat,
super.customNonceGenerator,
super.customTimestamp,
super.customNonce,
super.includeTimestampInSignature,
super.includeNonceInSignature,
super.sortJsonKeys,
this.timestampTolerance = 180000, // 3 minutes default
});