hashFactoryFor

private fnHashFactory hashFactoryFor(string oid)

Maps a hash algorithm OID to a factory creating that hash.

Parameters

oidThe dotted hash OID (e.g. Oid.SHA256).

Returns

A factory for the hash, or null when the OID is not a

supported hash algorithm.