Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.RsaPaddingProcessor Class Referencesealed

Package Functions

void PadOaep (ReadOnlySpan< byte > source, Span< byte > destination)
 
void PadOaep (ReadOnlySpan< byte > source, Span< byte > destination)
 

Static Package Functions

static int BytesRequiredForBitCount (int keySizeInBits)
 
static RsaPaddingProcessor OpenProcessor (HashAlgorithmName hashAlgorithmName)
 
static void PadPkcs1Encryption (ReadOnlySpan< byte > source, Span< byte > destination)
 
static int BytesRequiredForBitCount (int keySizeInBits)
 
static System.Security.Cryptography.RsaPaddingProcessor OpenProcessor (HashAlgorithmName hashAlgorithmName)
 
static void PadPkcs1Encryption (ReadOnlySpan< byte > source, Span< byte > destination)
 

Private Member Functions

 RsaPaddingProcessor (HashAlgorithmName hashAlgorithmName, int hLen, ReadOnlyMemory< byte > digestInfoPrefix)
 
void Mgf1 (IncrementalHash hasher, ReadOnlySpan< byte > mgfSeed, Span< byte > mask)
 
 RsaPaddingProcessor (HashAlgorithmName hashAlgorithmName, int hLen, ReadOnlyMemory< byte > digestInfoPrefix)
 
void Mgf1 (IncrementalHash hasher, ReadOnlySpan< byte > mgfSeed, Span< byte > mask)
 

Static Private Member Functions

static void FillNonZeroBytes (Span< byte > data)
 
static void Xor (Span< byte > a, ReadOnlySpan< byte > b)
 
static void FillNonZeroBytes (Span< byte > data)
 
static void Xor (Span< byte > a, ReadOnlySpan< byte > b)
 

Private Attributes

readonly HashAlgorithmName _hashAlgorithmName
 
readonly int _hLen
 
readonly ReadOnlyMemory< byte > _digestInfoPrefix
 

Static Private Attributes

static readonly byte[] s_digestInfoMD5
 
static readonly byte[] s_digestInfoSha1
 
static readonly byte[] s_digestInfoSha256
 
static readonly byte[] s_digestInfoSha384
 
static readonly byte[] s_digestInfoSha512
 
static readonly ConcurrentDictionary< HashAlgorithmName, RsaPaddingProcessors_lookup = new ConcurrentDictionary<HashAlgorithmName, RsaPaddingProcessor>()
 
static readonly ConcurrentDictionary< HashAlgorithmName, System.Security.Cryptography.RsaPaddingProcessors_lookup = new ConcurrentDictionary<HashAlgorithmName, System.Security.Cryptography.RsaPaddingProcessor>()
 

Detailed Description

Definition at line 6 of file RsaPaddingProcessor.cs.


The documentation for this class was generated from the following files: