Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RSAOpenSsl.cs
Go to the documentation of this file.
1using System.IO;
2
4
5public sealed class RSAOpenSsl : RSA
6{
7 public override int KeySize
8 {
9 set
10 {
12 }
13 }
14
22
27
32
37
42
47
48 public override byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
49 {
51 }
52
53 protected override void Dispose(bool disposing)
54 {
55 }
56
61
62 public override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
63 {
65 }
66
67 public override RSAParameters ExportParameters(bool includePrivateParameters)
68 {
70 }
71
72 protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
73 {
75 }
76
77 protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
78 {
80 }
81
86
87 public override byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
88 {
90 }
91
92 public override bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
93 {
95 }
96}
static string PlatformNotSupported_CryptographyOpenSSL
Definition SR.cs:14
Definition SR.cs:7
RSAOpenSsl(RSAParameters parameters)
Definition RSAOpenSsl.cs:38
override byte[] Encrypt(byte[] data, RSAEncryptionPadding padding)
Definition RSAOpenSsl.cs:62
override void ImportParameters(RSAParameters parameters)
Definition RSAOpenSsl.cs:82
override RSAParameters ExportParameters(bool includePrivateParameters)
Definition RSAOpenSsl.cs:67
override byte[] Decrypt(byte[] data, RSAEncryptionPadding padding)
Definition RSAOpenSsl.cs:48
RSAOpenSsl(SafeEvpPKeyHandle pkeyHandle)
Definition RSAOpenSsl.cs:43
override void Dispose(bool disposing)
Definition RSAOpenSsl.cs:53
override bool VerifyHash(byte[] hash, byte[] signature, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSAOpenSsl.cs:92
override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm)
Definition RSAOpenSsl.cs:72
override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
Definition RSAOpenSsl.cs:77
override byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
Definition RSAOpenSsl.cs:87