C# Class Thinktecture.IdentityModel.Extensions.RSAExtensions

Extension methods for RSACryptoServiceProvider
Afficher le fichier Open project: IdentityModel/Thinktecture.IdentityModel.v1

Méthodes publiques

Méthode Description
GetKeyHash ( this rsa ) : byte[]

Calculates a hash for an RSA key.

GetKeyHash ( this rsa, string entropy ) : byte[]

Calculates a hash for an RSA key.

GetKeyHashString ( this rsa ) : string

Calculates a hash string for an RSA key.

GetKeyHashString ( this rsa, string entropy ) : string

Calculates a hash string for an RSA key.

Method Details

GetKeyHash() public static méthode

Calculates a hash for an RSA key.
public static GetKeyHash ( this rsa ) : byte[]
rsa this The RSA key.
Résultat byte[]

GetKeyHash() public static méthode

Calculates a hash for an RSA key.
public static GetKeyHash ( this rsa, string entropy ) : byte[]
rsa this The RSA key.
entropy string Additional entropy.
Résultat byte[]

GetKeyHashString() public static méthode

Calculates a hash string for an RSA key.
public static GetKeyHashString ( this rsa ) : string
rsa this The RSA key.
Résultat string

GetKeyHashString() public static méthode

Calculates a hash string for an RSA key.
public static GetKeyHashString ( this rsa, string entropy ) : string
rsa this The RSA Key
entropy string Additional entropy.
Résultat string