C# Class DKIM.PrivateKeySigner

Inheritance: IPrivateKeySigner
Show file Open project: dmcgiv/DKIM.Net

Public Methods

Method Description
Hash ( byte data, SigningAlgorithm algorithm ) : byte[]
Sign ( byte data, SigningAlgorithm algorithm ) : byte[]

Private Methods

Method Description
Create ( [ privateKey ) : IPrivateKeySigner
GetHash ( SigningAlgorithm algorithm ) : HashAlgorithm
GetHashName ( SigningAlgorithm algorithm ) : string
LoadFromFile ( [ path ) : IPrivateKeySigner
PrivateKeySigner ( [ privateKey ) : System

Method Details

Hash() public method

public Hash ( byte data, SigningAlgorithm algorithm ) : byte[]
data byte
algorithm SigningAlgorithm
return byte[]

Sign() public method

public Sign ( byte data, SigningAlgorithm algorithm ) : byte[]
data byte
algorithm SigningAlgorithm
return byte[]