terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
Mono.Security.Cryptography.DSAManaged Class Reference
+ Inheritance diagram for Mono.Security.Cryptography.DSAManaged:

Classes

class  KeyGeneratedEventHandler
 

Public Member Functions

 DSAManaged (int dwKeySize)
 
override DSAParameters ExportParameters (bool includePrivateParameters)
 
override void ImportParameters (DSAParameters parameters)
 
override byte[] CreateSignature (byte[] rgbHash)
 
override bool VerifySignature (byte[] rgbHash, byte[] rgbSignature)
 
virtual bool VerifySignature (ReadOnlySpan< byte > hash, ReadOnlySpan< byte > signature)
 
byte[] SignData (byte[] data, HashAlgorithmName hashAlgorithm)
 
virtual byte[] SignData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 
virtual byte[] SignData (Stream data, HashAlgorithmName hashAlgorithm)
 
bool VerifyData (byte[] data, byte[] signature, HashAlgorithmName hashAlgorithm)
 
virtual bool VerifyData (byte[] data, int offset, int count, byte[] signature, HashAlgorithmName hashAlgorithm)
 
virtual bool VerifyData (Stream data, byte[] signature, HashAlgorithmName hashAlgorithm)
 
virtual bool VerifyData (ReadOnlySpan< byte > data, ReadOnlySpan< byte > signature, HashAlgorithmName hashAlgorithm)
 
override void FromXmlString (string xmlString)
 
override string ToXmlString (bool includePrivateParameters)
 
virtual bool TryCreateSignature (ReadOnlySpan< byte > hash, Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TrySignData (ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, [Out] int bytesWritten)
 
void Dispose ()
 
void Clear ()
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters)
 
virtual byte[] ExportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, PbeParameters pbeParameters)
 
virtual byte[] ExportPkcs8PrivateKey ()
 
virtual byte[] ExportSubjectPublicKeyInfo ()
 
virtual void ImportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportPkcs8PrivateKey (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual void ImportSubjectPublicKeyInfo (ReadOnlySpan< byte > source, [Out] int bytesRead)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (ReadOnlySpan< byte > passwordBytes, PbeParameters pbeParameters, Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportEncryptedPkcs8PrivateKey (ReadOnlySpan< char > password, PbeParameters pbeParameters, Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportPkcs8PrivateKey (Span< byte > destination, [Out] int bytesWritten)
 
virtual bool TryExportSubjectPublicKeyInfo (Span< byte > destination, [Out] int bytesWritten)
 

Static Public Member Functions

static new DSA Create ()
 
static new DSA Create (string algName)
 
static DSA Create (int keySizeInBits)
 
static DSA Create (DSAParameters parameters)
 

Protected Member Functions

override void Finalize ()
 
override void Dispose (bool disposing)
 
virtual byte[] HashData (byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
 
virtual byte[] HashData (Stream data, HashAlgorithmName hashAlgorithm)
 
virtual bool TryHashData (ReadOnlySpan< byte > data, Span< byte > destination, HashAlgorithmName hashAlgorithm, [Out] int bytesWritten)
 

Protected Attributes

int KeySizeValue
 
KeySizes[] LegalKeySizesValue
 

Static Package Functions

static Exception HashAlgorithmNameNullOrEmpty ()
 

Properties

RandomNumberGenerator Random [get]
 
override int KeySize [get]
 
override string KeyExchangeAlgorithm [get]
 
bool PublicOnly [get]
 
override string SignatureAlgorithm [get]
 
DSAManaged.KeyGeneratedEventHandler KeyGenerated
 
virtual KeySizes[] LegalKeySizes [get]
 

Private Member Functions

void Generate ()
 
void GenerateKeyPair ()
 
void add (byte[] a, byte[] b, int value)
 
void GenerateParams (int keyLength)
 
byte[] NormalizeArray (byte[] array)
 

Static Private Member Functions

static Exception DerivedClassMustOverride ()
 

Private Attributes

bool keypairGenerated
 
bool m_disposed
 
BigInteger p
 
BigInteger q
 
BigInteger g
 
BigInteger x
 
BigInteger y
 
BigInteger j
 
BigInteger seed
 
int counter
 
bool j_missing
 
RandomNumberGenerator rng
 

Detailed Description

Definition at line 9 of file DSAManaged.cs.


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