setFactory static method
Set the private key factory for the specified algorithm.
Implementation
static void setFactory(String algorithm, PrivateKeyFactory factory) {
final helper = sharedCryptoExtensions.privateHelper;
helper!.setPrivateKeyFactory(algorithm, factory);
}