C# Class Library.Security.Signature

显示文件 Open project: Alliance-Network/Library

Public Methods

Method Description
Check ( string item ) : bool
GetHash ( string item ) : byte[]
GetNickname ( string item ) : string
GetSignature ( Certificate certificate ) : string
GetSignature ( DigitalSignature digitalSignature ) : string

Private Methods

Method Description
CheckBase64 ( string value ) : bool
WriteString ( Stream stream, string value ) : void

Method Details

Check() public static method

public static Check ( string item ) : bool
item string
return bool

GetHash() public static method

public static GetHash ( string item ) : byte[]
item string
return byte[]

GetNickname() public static method

public static GetNickname ( string item ) : string
item string
return string

GetSignature() public static method

public static GetSignature ( Certificate certificate ) : string
certificate Certificate
return string

GetSignature() public static method

public static GetSignature ( DigitalSignature digitalSignature ) : string
digitalSignature DigitalSignature
return string