factoryConfig property
FactoryConfig
factoryConfig
final
Intended for internal use.
Implementation
// ignore: non_constant_identifier_names
static final FactoryConfig factoryConfig = DynamicFactoryConfig.regex(
Signer, r'^(.+)/(DET-)?ECDSA$', (_, final Match match) {
// ignore: omit_local_variable_types
final String? digestName = match.group(1);
// ignore: omit_local_variable_types
final bool withMac = match.group(2) != null;
return () {
var underlyingDigest = Digest(digestName!);
var mac = withMac ? Mac('$digestName/HMAC') : null;
return ECDSASigner(underlyingDigest, mac);
};
});