HmacConfig constructor

const HmacConfig({
  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,
})

Implementation

const HmacConfig({
  this.signatureMethod = 'canonical',
  this.separator = '|',
  this.canonicalFields,
  this.hashAlgorithm = 'sha256',
  this.encoding = 'hex',
  this.timestampFormat = 'milliseconds',
  this.nonceFormat = 'uuid-v4',
  this.customNonceGenerator,
  this.customTimestamp,
  this.customNonce,
  this.includeTimestampInSignature = true,
  this.includeNonceInSignature = true,
  this.sortJsonKeys = true,
});