C# Class Microsoft.Identity.Client.CryptographyHelper

Inheritance: ICryptographyHelper
Afficher le fichier Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
CreateSha256Hash ( string input ) : string
SignWithCertificate ( string message, X509Certificate2 certificate ) : byte[]

Private Methods

Méthode Description
GetCryptoProviderForSha256 ( RSACryptoServiceProvider rsaProvider ) : RSACryptoServiceProvider

Method Details

CreateSha256Hash() public méthode

public CreateSha256Hash ( string input ) : string
input string
Résultat string

SignWithCertificate() public méthode

public SignWithCertificate ( string message, X509Certificate2 certificate ) : byte[]
message string
certificate System.Security.Cryptography.X509Certificates.X509Certificate2
Résultat byte[]