Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ICngSymmetricAlgorithm.cs
Go to the documentation of this file.
1
using
System.Security.Cryptography
;
2
using
Internal.NativeCrypto
;
3
4
namespace
Internal.Cryptography
;
5
6
internal
interface
ICngSymmetricAlgorithm
7
{
8
int
BlockSize
{
get
; }
9
10
int
FeedbackSize
{
get
; }
11
12
CipherMode
Mode {
get
; }
13
14
PaddingMode
Padding
{
get
; }
15
16
byte
[]
IV
{
get
;
set
; }
17
18
KeySizes
[]
LegalKeySizes
{
get
; }
19
20
byte
[]
BaseKey
{
get
;
set
; }
21
22
int
BaseKeySize
{
get
;
set
; }
23
24
bool
IsWeakKey
(
byte
[] key);
25
26
Internal.NativeCrypto.SafeAlgorithmHandle
GetEphemeralModeHandle
(
CipherMode
mode,
int
feedbackSizeInBits);
27
28
string
GetNCryptAlgorithmIdentifier
();
29
30
byte
[]
PreprocessKey
(
byte
[] key);
31
32
int
GetPaddingSize
(
CipherMode
mode,
int
feedbackSizeBits);
33
34
bool
IsValidEphemeralFeedbackSize
(
int
feedbackSizeInBits);
35
}
Internal.NativeCrypto.SafeAlgorithmHandle
Definition
SafeAlgorithmHandle.cs:8
System.Security.Cryptography.KeySizes
Definition
KeySizes.cs:4
Internal.Cryptography.ICngSymmetricAlgorithm.GetNCryptAlgorithmIdentifier
string GetNCryptAlgorithmIdentifier()
Internal.Cryptography.ICngSymmetricAlgorithm.GetPaddingSize
int GetPaddingSize(CipherMode mode, int feedbackSizeBits)
Internal.Cryptography.ICngSymmetricAlgorithm.IsWeakKey
bool IsWeakKey(byte[] key)
Internal.Cryptography.ICngSymmetricAlgorithm.Padding
PaddingMode Padding
Definition
ICngSymmetricAlgorithm.cs:14
Internal.Cryptography.ICngSymmetricAlgorithm.GetEphemeralModeHandle
Internal.NativeCrypto.SafeAlgorithmHandle GetEphemeralModeHandle(CipherMode mode, int feedbackSizeInBits)
Internal.Cryptography.ICngSymmetricAlgorithm.IV
byte[] IV
Definition
ICngSymmetricAlgorithm.cs:16
Internal.Cryptography.ICngSymmetricAlgorithm.BaseKey
byte[] BaseKey
Definition
ICngSymmetricAlgorithm.cs:20
Internal.Cryptography.ICngSymmetricAlgorithm.FeedbackSize
int FeedbackSize
Definition
ICngSymmetricAlgorithm.cs:10
Internal.Cryptography.ICngSymmetricAlgorithm.PreprocessKey
byte[] PreprocessKey(byte[] key)
Internal.Cryptography.ICngSymmetricAlgorithm.IsValidEphemeralFeedbackSize
bool IsValidEphemeralFeedbackSize(int feedbackSizeInBits)
Internal.Cryptography.ICngSymmetricAlgorithm.BlockSize
int BlockSize
Definition
ICngSymmetricAlgorithm.cs:8
Internal.Cryptography.ICngSymmetricAlgorithm.BaseKeySize
int BaseKeySize
Definition
ICngSymmetricAlgorithm.cs:22
Internal.Cryptography.ICngSymmetricAlgorithm.LegalKeySizes
KeySizes[] LegalKeySizes
Definition
ICngSymmetricAlgorithm.cs:18
Internal.Cryptography.ICngSymmetricAlgorithm
Definition
ICngSymmetricAlgorithm.cs:7
Internal.Cryptography
Definition
AesBCryptModes.cs:5
Internal.NativeCrypto
Definition
Cng.cs:6
System.Security.Cryptography.CipherMode
CipherMode
Definition
CipherMode.cs:6
System.Security.Cryptography.PaddingMode
PaddingMode
Definition
PaddingMode.cs:4
System.Security.Cryptography
Definition
CryptoPool.cs:3
source
System.Security.Cryptography.Cng
Internal.Cryptography
ICngSymmetricAlgorithm.cs
Generated by
1.10.0