Exemple #1
0
 public static bool Verify(IAsymmetricKey key, byte[] data, byte[] signature)
 {
     return(key.GetAlgorithmInstance().Verify(key, data, signature));
 }
Exemple #2
0
 public static byte[] Decrypt(IAsymmetricKey key, byte[] data)
 {
     return(key.GetAlgorithmInstance().Decrypt(key, data));
 }
Exemple #3
0
 public static byte[] Sign(IAsymmetricKey key, byte[] data)
 {
     return(key.GetAlgorithmInstance().Sign(key, data));
 }