setFactory static method
Set the public key factory for the specified algorithm.
Implementation
static void setFactory(String algorithm, PublicKeyFactory factory) {
final helper = sharedCryptoExtensions.publicHelper;
helper!.setPublicKeyFactory(algorithm, factory);
}