internal byte[] GetKey(string strProviderName, KeyProviderQueryContext ctx, out bool bPerformHash) { Debug.Assert(strProviderName != null); if (strProviderName == null) { throw new ArgumentNullException("strProviderName"); } bPerformHash = true; foreach (KeyProvider prov in m_vProviders) { if (prov.Name == strProviderName) { bPerformHash = !prov.DirectKey; return(prov.GetKey(ctx)); } } Debug.Assert(false); return(null); }
public override byte[] GetKey(KeyProviderQueryContext ctx) { return(new byte[] { 2, 3, 5, 7, 11, 13 }); }
public abstract byte[] GetKey(KeyProviderQueryContext ctx);