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.​SymmetricAlgorithmAesGcmAlgorithm → AesGcmAlgorithm256

Implemented Interfaces

Fields and Constants

protected int
BlockSizeValue
protected int
FeedbackSizeValue
protected byte[]
IVValue
protected int
KeySizeValue
protected byte[]
KeyValue
LegalBlockSizesValue
LegalKeySizesValue

Properties

public int
BlockSize
public int
FeedbackSize
public byte[]
IV
public byte[]
Key
public int
KeySize

Methods

CreateDecryptor​(byte[] rgbKey, byte[] rgbIV)
Inherited from AesGcmAlgorithm
CreateEncryptor​(byte[] rgbKey, byte[] rgbIV)
Inherited from AesGcmAlgorithm
public void
GenerateIV​()
Inherited from AesGcmAlgorithm
public void
GenerateKey​()
Inherited from AesGcmAlgorithm
public void
Clear​()
public byte[]
DecryptCbc​(byte[] ciphertext, byte[] iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public byte[]
DecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public int
DecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public byte[]
DecryptCfb​(byte[] ciphertext, byte[] iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public byte[]
DecryptCfb​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public int
DecryptCfb​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public byte[]
DecryptEcb​(byte[] ciphertext, System.​Security.​Cryptography.​PaddingMode paddingMode)
public int
DecryptEcb​(System.​ReadOnlySpan<​byte> ciphertext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode)
public void
Dispose​()
protected void
Dispose​(bool disposing)
public byte[]
EncryptCbc​(byte[] plaintext, byte[] iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public byte[]
EncryptCbc​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public int
EncryptCbc​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public byte[]
EncryptCfb​(byte[] plaintext, byte[] iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public byte[]
EncryptCfb​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public int
EncryptCfb​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public byte[]
EncryptEcb​(byte[] plaintext, System.​Security.​Cryptography.​PaddingMode paddingMode)
public int
EncryptEcb​(System.​ReadOnlySpan<​byte> plaintext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode)
public int
GetCiphertextLengthCbc​(int plaintextLength, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
public int
GetCiphertextLengthCfb​(int plaintextLength, System.​Security.​Cryptography.​PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
public int
GetCiphertextLengthEcb​(int plaintextLength, System.​Security.​Cryptography.​PaddingMode paddingMode)
public void
SetKey​(System.​ReadOnlySpan<​byte> key)
protected void
SetKeyCore​(System.​ReadOnlySpan<​byte> key)
public bool
TryDecryptCbc​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Int32& bytesWritten, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
protected bool
TryDecryptCbcCore​(System.​ReadOnlySpan<​byte> ciphertext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
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)
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)
public bool
TryDecryptEcb​(System.​ReadOnlySpan<​byte> ciphertext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
protected bool
TryDecryptEcbCore​(System.​ReadOnlySpan<​byte> ciphertext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
public bool
TryEncryptCbc​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Int32& bytesWritten, System.​Security.​Cryptography.​PaddingMode paddingMode = 2)
protected bool
TryEncryptCbcCore​(System.​ReadOnlySpan<​byte> plaintext, System.​ReadOnlySpan<​byte> iv, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
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)
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)
public bool
TryEncryptEcb​(System.​ReadOnlySpan<​byte> plaintext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
protected bool
TryEncryptEcbCore​(System.​ReadOnlySpan<​byte> plaintext, System.​Span<​byte> destination, System.​Security.​Cryptography.​PaddingMode paddingMode, System.​Int32& bytesWritten)
public bool
ValidKeySize​(int bitLength)
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object