public static bool Verify(IAsymmetricKey key, byte[] data, byte[] signature) { return(key.GetAlgorithmInstance().Verify(key, data, signature)); }
public static byte[] Decrypt(IAsymmetricKey key, byte[] data) { return(key.GetAlgorithmInstance().Decrypt(key, data)); }
public static byte[] Sign(IAsymmetricKey key, byte[] data) { return(key.GetAlgorithmInstance().Sign(key, data)); }