Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.Cryptography.RSAKeyFormatHelper Class Reference

Static Package Functions

static void FromPkcs1PrivateKey (ReadOnlyMemory< byte > keyData, in AlgorithmIdentifierAsn algId, out RSAParameters ret)
 
static void ReadRsaPublicKey (ReadOnlyMemory< byte > keyData, in AlgorithmIdentifierAsn algId, out RSAParameters ret)
 
static ReadOnlyMemory< byte > ReadSubjectPublicKeyInfo (ReadOnlyMemory< byte > source, out int bytesRead)
 
static ReadOnlyMemory< byte > ReadPkcs8 (ReadOnlyMemory< byte > source, out int bytesRead)
 
static AsnWriter WriteSubjectPublicKeyInfo (ReadOnlySpan< byte > pkcs1PublicKey)
 
static AsnWriter WritePkcs8PrivateKey (ReadOnlySpan< byte > pkcs1PrivateKey, AsnWriter copyFrom=null)
 
static AsnWriter WritePkcs1PublicKey (in RSAParameters rsaParameters)
 
static AsnWriter WritePkcs1PrivateKey (in RSAParameters rsaParameters)
 
static void ReadEncryptedPkcs8 (ReadOnlySpan< byte > source, ReadOnlySpan< char > password, out int bytesRead, out RSAParameters key)
 
static void ReadEncryptedPkcs8 (ReadOnlySpan< byte > source, ReadOnlySpan< byte > passwordBytes, out int bytesRead, out RSAParameters key)
 

Static Private Member Functions

static void WriteAlgorithmIdentifier (AsnWriter writer)
 

Static Private Attributes

static readonly string[] s_validOids = new string[1] { "1.2.840.113549.1.1.1" }
 

Detailed Description

Definition at line 6 of file RSAKeyFormatHelper.cs.


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