C# Class System.Security.Cryptography.RSAOpenSsl

Inheritance: RSA
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
Decrypt ( byte data, System padding ) : byte[]
DuplicateKeyHandle ( ) : System.Security.Cryptography.SafeEvpPKeyHandle
Encrypt ( byte data, System padding ) : byte[]
ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.RSAParameters
ImportParameters ( System parameters ) : void
RSAOpenSsl ( )
RSAOpenSsl ( System handle )
RSAOpenSsl ( int keySize )
SignHash ( byte hash, System hashAlgorithm, System padding ) : byte[]
VerifyHash ( byte hash, byte signature, System hashAlgorithm, System padding ) : bool

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
HashData ( System data, System hashAlgorithm ) : byte[]
HashData ( byte data, int offset, int count, System hashAlgorithm ) : byte[]

Method Details

Decrypt() public méthode

public Decrypt ( byte data, System padding ) : byte[]
data byte
padding System
Résultat byte[]

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DuplicateKeyHandle() public méthode

public DuplicateKeyHandle ( ) : System.Security.Cryptography.SafeEvpPKeyHandle
Résultat System.Security.Cryptography.SafeEvpPKeyHandle

Encrypt() public méthode

public Encrypt ( byte data, System padding ) : byte[]
data byte
padding System
Résultat byte[]

ExportParameters() public méthode

public ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.RSAParameters
includePrivateParameters bool
Résultat System.Security.Cryptography.RSAParameters

HashData() protected méthode

protected HashData ( System data, System hashAlgorithm ) : byte[]
data System
hashAlgorithm System
Résultat byte[]

HashData() protected méthode

protected HashData ( byte data, int offset, int count, System hashAlgorithm ) : byte[]
data byte
offset int
count int
hashAlgorithm System
Résultat byte[]

ImportParameters() public méthode

public ImportParameters ( System parameters ) : void
parameters System
Résultat void

RSAOpenSsl() public méthode

public RSAOpenSsl ( )

RSAOpenSsl() public méthode

public RSAOpenSsl ( System handle )
handle System

RSAOpenSsl() public méthode

public RSAOpenSsl ( int keySize )
keySize int

SignHash() public méthode

public SignHash ( byte hash, System hashAlgorithm, System padding ) : byte[]
hash byte
hashAlgorithm System
padding System
Résultat byte[]

VerifyHash() public méthode

public VerifyHash ( byte hash, byte signature, System hashAlgorithm, System padding ) : bool
hash byte
signature byte
hashAlgorithm System
padding System
Résultat bool