Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Sustainsys.​Saml2.​Internal.​AesGcmAlgorithm256
Assembly: Sustainsys.Saml2
Inheritance: object → System.​Security.​Cryptography.​SymmetricAlgorithm → AesGcmAlgorithm → AesGcmAlgorithm256
Implemented Interfaces
- System.​IDisposable Implemented by: SymmetricAlgorithm
Fields and Constants
protected
int
BlockSizeValue
protected
int
FeedbackSizeValue
protected
byte[]
IVValue
protected
int
KeySizeValue
protected
byte[]
KeyValue
LegalBlockSizesValue
LegalKeySizesValue
ModeValue
PaddingValue
Properties
public
int
BlockSize
public
int
FeedbackSize
public
byte[]
IV
public
byte[]
Key
public
int
KeySize
LegalBlockSizes
LegalKeySizes
Methods
public
System.​Security.​Cryptography.​ICryptoTransform
CreateDecryptor​(byte[] rgbKey,
byte[] rgbIV)
Inherited from AesGcmAlgorithm
public
System.​Security.​Cryptography.​ICryptoTransform
CreateEncryptor​(byte[] rgbKey,
byte[] rgbIV)
Inherited from AesGcmAlgorithm
public
void
Clear​()
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
System.​Security.​Cryptography.​ICryptoTransform
CreateDecryptor​()
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
System.​Security.​Cryptography.​ICryptoTransform
CreateEncryptor​()
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptCbc​(byte[] ciphertext,
byte[] iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
DecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptCfb​(byte[] ciphertext,
byte[] iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptCfb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
DecryptCfb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptEcb​(byte[] ciphertext,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
DecryptEcb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
DecryptEcb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
void
Dispose​()
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
void
Dispose​(bool disposing)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptCbc​(byte[] plaintext,
byte[] iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptCbc​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
EncryptCbc​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptCfb​(byte[] plaintext,
byte[] iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptCfb​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
EncryptCfb​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptEcb​(byte[] plaintext,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
byte[]
EncryptEcb​(System.​ReadOnlySpan<​byte> plaintext,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
EncryptEcb​(System.​ReadOnlySpan<​byte> plaintext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
GetCiphertextLengthCbc​(int plaintextLength,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
GetCiphertextLengthCfb​(int plaintextLength,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
int
GetCiphertextLengthEcb​(int plaintextLength,
System.​Security.​Cryptography.​PaddingMode paddingMode)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
void
SetKey​(System.​ReadOnlySpan<​byte> key)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
void
SetKeyCore​(System.​ReadOnlySpan<​byte> key)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryDecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Int32& bytesWritten,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryDecryptCbcCore​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryDecryptCfb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Int32& bytesWritten,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryDecryptCfbCore​(System.​ReadOnlySpan<​byte> ciphertext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
int feedbackSizeInBits,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryDecryptEcb​(System.​ReadOnlySpan<​byte> ciphertext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryDecryptEcbCore​(System.​ReadOnlySpan<​byte> ciphertext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryEncryptCbc​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Int32& bytesWritten,
System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryEncryptCbcCore​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryEncryptCfb​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Int32& bytesWritten,
System.​Security.​Cryptography.​PaddingMode paddingMode = 1,
int feedbackSizeInBits = 8)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryEncryptCfbCore​(System.​ReadOnlySpan<​byte> plaintext,
System.​ReadOnlySpan<​byte> iv,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
int feedbackSizeInBits,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
TryEncryptEcb​(System.​ReadOnlySpan<​byte> plaintext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
protected
bool
TryEncryptEcbCore​(System.​ReadOnlySpan<​byte> plaintext,
System.​Span<​byte> destination,
System.​Security.​Cryptography.​PaddingMode paddingMode,
System.​Int32& bytesWritten)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
ValidKeySize​(int bitLength)
Inherited from System.​Security.​Cryptography.​SymmetricAlgorithm
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object