C# 클래스 System.Security.Cryptography.RSAImplementation.RSAOpenSsl

상속: RSA
파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
Decrypt ( byte data, RSAEncryptionPadding padding ) : byte[]
Encrypt ( byte data, RSAEncryptionPadding padding ) : byte[]
ExportParameters ( bool includePrivateParameters ) : RSAParameters
ImportParameters ( RSAParameters parameters ) : void
RSAOpenSsl ( ) : System.Diagnostics
RSAOpenSsl ( int keySize ) : System.Diagnostics
SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[]
VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
HashData ( Stream data, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[]
HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[]

비공개 메소드들

메소드 설명
CheckBoolReturn ( int returnValue ) : void
CheckInvalidKey ( Microsoft.Win32.SafeHandles.SafeRsaHandle key ) : void
CheckReturn ( int returnValue ) : void
ForceSetKeySize ( int newKeySize ) : void
FreeKey ( ) : void
GenerateKey ( ) : Microsoft.Win32.SafeHandles.SafeRsaHandle
GetAlgorithmNid ( Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : int
GetInteropPadding ( RSAEncryptionPadding padding ) : Interop.Crypto.RsaPadding
HasConsistentPrivateKey ( RSAParameters &parameters ) : bool
HashAlgorithmNameNullOrEmpty ( ) : Exception
PaddingModeNotSupported ( ) : Exception
SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : byte[]
ValidateParameters ( RSAParameters &parameters ) : void
VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithmName ) : bool

메소드 상세

Decrypt() 공개 메소드

public Decrypt ( byte data, RSAEncryptionPadding padding ) : byte[]
data byte
padding RSAEncryptionPadding
리턴 byte[]

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Encrypt() 공개 메소드

public Encrypt ( byte data, RSAEncryptionPadding padding ) : byte[]
data byte
padding RSAEncryptionPadding
리턴 byte[]

ExportParameters() 공개 메소드

public ExportParameters ( bool includePrivateParameters ) : RSAParameters
includePrivateParameters bool
리턴 RSAParameters

HashData() 보호된 메소드

protected HashData ( Stream data, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[]
data System.IO.Stream
hashAlgorithm Internal.Cryptography.HashAlgorithmName
리턴 byte[]

HashData() 보호된 메소드

protected HashData ( byte data, int offset, int count, Internal.Cryptography.HashAlgorithmName hashAlgorithm ) : byte[]
data byte
offset int
count int
hashAlgorithm Internal.Cryptography.HashAlgorithmName
리턴 byte[]

ImportParameters() 공개 메소드

public ImportParameters ( RSAParameters parameters ) : void
parameters RSAParameters
리턴 void

RSAOpenSsl() 공개 메소드

public RSAOpenSsl ( ) : System.Diagnostics
리턴 System.Diagnostics

RSAOpenSsl() 공개 메소드

public RSAOpenSsl ( int keySize ) : System.Diagnostics
keySize int
리턴 System.Diagnostics

SignHash() 공개 메소드

public SignHash ( byte hash, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : byte[]
hash byte
hashAlgorithm Internal.Cryptography.HashAlgorithmName
padding RSASignaturePadding
리턴 byte[]

VerifyHash() 공개 메소드

public VerifyHash ( byte hash, byte signature, Internal.Cryptography.HashAlgorithmName hashAlgorithm, RSASignaturePadding padding ) : bool
hash byte
signature byte
hashAlgorithm Internal.Cryptography.HashAlgorithmName
padding RSASignaturePadding
리턴 bool