factoryConfig property
FactoryConfig
factoryConfig
final
Intended for internal use.
Implementation
static final FactoryConfig factoryConfig =
DynamicFactoryConfig.suffix(Signer, '/RSA', (_, Match match) {
final digestName = match.group(1);
final digestIdentifierHex = _digestIdentifierHexes[digestName!];
if (digestIdentifierHex == null) {
throw RegistryFactoryException(
'RSA signing with digest $digestName is not supported');
}
return () => RSASigner(Digest(digestName), digestIdentifierHex);
});