VerificationConfig constructor

const VerificationConfig({
  1. String signatureMethod = 'canonical',
  2. String separator = '|',
  3. List<String>? canonicalFields,
  4. String hashAlgorithm = 'sha256',
  5. String encoding = 'hex',
  6. String timestampFormat = 'milliseconds',
  7. String nonceFormat = 'uuid-v4',
  8. String customNonceGenerator()?,
  9. dynamic customTimestamp,
  10. String? customNonce,
  11. bool includeTimestampInSignature = true,
  12. bool includeNonceInSignature = true,
  13. bool sortJsonKeys = true,
  14. 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
});