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