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.​AesGcmAlgorithm128

Assembly: Sustainsys.Saml2

Inheritance: object → System.Security.Cryptography.SymmetricAlgorithmAesGcmAlgorithm → AesGcmAlgorithm128

Fields and Constants

protected int
BlockSizeValue
protected int
FeedbackSizeValue
protected byte[]
IVValue
protected int
KeySizeValue
protected byte[]
KeyValue
protected System.​Security.​Cryptography.​KeySizes[]
LegalBlockSizesValue
protected System.​Security.​Cryptography.​KeySizes[]
LegalKeySizesValue

Properties

public int
BlockSize
public int
FeedbackSize
public byte[]
IV
public byte[]
Key
public int
KeySize
public System.​Security.​Cryptography.​KeySizes[]
LegalBlockSizes
public System.​Security.​Cryptography.​KeySizes[]
LegalKeySizes

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​()
Inherited from SymmetricAlgorithm
public byte[]
DecryptCbc​(byte[] ciphertext, byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public byte[]
DecryptCbc​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public int
DecryptCbc​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public byte[]
DecryptCfb​(byte[] ciphertext, byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public byte[]
DecryptCfb​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public int
DecryptCfb​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public byte[]
DecryptEcb​(byte[] ciphertext, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public byte[]
DecryptEcb​(System.ReadOnlySpan`1 ciphertext, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public int
DecryptEcb​(System.ReadOnlySpan`1 ciphertext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public void
Dispose​()
Inherited from SymmetricAlgorithm
protected void
Dispose​(bool disposing)
Inherited from SymmetricAlgorithm
public byte[]
EncryptCbc​(byte[] plaintext, byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public byte[]
EncryptCbc​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public int
EncryptCbc​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public byte[]
EncryptCfb​(byte[] plaintext, byte[] iv, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public byte[]
EncryptCfb​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public int
EncryptCfb​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public byte[]
EncryptEcb​(byte[] plaintext, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public byte[]
EncryptEcb​(System.ReadOnlySpan`1 plaintext, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public int
EncryptEcb​(System.ReadOnlySpan`1 plaintext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public int
GetCiphertextLengthCbc​(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
public int
GetCiphertextLengthCfb​(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
public int
GetCiphertextLengthEcb​(int plaintextLength, System.Security.Cryptography.PaddingMode paddingMode)
Inherited from SymmetricAlgorithm
public void
SetKey​(System.ReadOnlySpan`1 key)
Inherited from SymmetricAlgorithm
protected void
SetKeyCore​(System.ReadOnlySpan`1 key)
Inherited from SymmetricAlgorithm
public bool
TryDecryptCbc​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Int32& bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
protected bool
TryDecryptCbcCore​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
TryDecryptCfb​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Int32& bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
protected bool
TryDecryptCfbCore​(System.ReadOnlySpan`1 ciphertext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
TryDecryptEcb​(System.ReadOnlySpan`1 ciphertext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
protected bool
TryDecryptEcbCore​(System.ReadOnlySpan`1 ciphertext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
TryEncryptCbc​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Int32& bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = 2)
Inherited from SymmetricAlgorithm
protected bool
TryEncryptCbcCore​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
TryEncryptCfb​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Int32& bytesWritten, System.Security.Cryptography.PaddingMode paddingMode = 1, int feedbackSizeInBits = 8)
Inherited from SymmetricAlgorithm
protected bool
TryEncryptCfbCore​(System.ReadOnlySpan`1 plaintext, System.ReadOnlySpan`1 iv, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, int feedbackSizeInBits, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
TryEncryptEcb​(System.ReadOnlySpan`1 plaintext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
protected bool
TryEncryptEcbCore​(System.ReadOnlySpan`1 plaintext, System.Span`1 destination, System.Security.Cryptography.PaddingMode paddingMode, System.Int32& bytesWritten)
Inherited from SymmetricAlgorithm
public bool
ValidKeySize​(int bitLength)
Inherited from SymmetricAlgorithm
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