C# Class RsaCryptoExample.Program

Mostrar archivo Open project: mztgame/sdk-document

Public Methods

Method Description
DecodeX509PublicKey ( byte x509key ) : RSACryptoServiceProvider
verify ( string content, string signedString, string publicKey ) : bool

Private Methods

Method Description
CompareBytearrays ( byte a, byte b ) : bool
Main ( ) : void

Method Details

DecodeX509PublicKey() public static method

public static DecodeX509PublicKey ( byte x509key ) : RSACryptoServiceProvider
x509key byte
return System.Security.Cryptography.RSACryptoServiceProvider

verify() public static method

public static verify ( string content, string signedString, string publicKey ) : bool
content string
signedString string
publicKey string
return bool