AesGcm 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示要與 Galois/Counter Mode (GCM) 作業模式搭配使用的進階加密標準 (AES) 金鑰。
public ref class AesGcm sealed : IDisposable
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public sealed class AesGcm : IDisposable
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
public sealed class AesGcm : IDisposable
C#
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.SupportedOSPlatform("ios13.0")]
[System.Runtime.Versioning.SupportedOSPlatform("tvos13.0")]
public sealed class AesGcm : IDisposable
C#
public sealed class AesGcm : IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type AesGcm = class
interface IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
type AesGcm = class
interface IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.SupportedOSPlatform("ios13.0")>]
[<System.Runtime.Versioning.SupportedOSPlatform("tvos13.0")>]
type AesGcm = class
interface IDisposable
type AesGcm = class
interface IDisposable
Public NotInheritable Class AesGcm
Implements IDisposable
- 繼承
-
AesGcm
- 屬性
- 實作
Aes |
已淘汰.
使用提供的索引鍵,初始化 AesGcm 類別的新實例。 |
Aes |
使用提供的索引鍵和必要的標籤大小,初始化 AesGcm 類別的新實例。 |
Aes |
已淘汰.
使用提供的索引鍵,初始化 AesGcm 類別的新實例。 |
Aes |
使用提供的索引鍵和必要的標籤大小,初始化 AesGcm 類別的新實例。 |
Is |
取得值,這個值表示目前平臺上是否支持演算法。 |
Nonce |
取得這個實例支援的 nonce 大小,以位元組為單位。 |
Tag |
取得這個實例支援的標籤大小,以位元組為單位。 |
Tag |
取得標記的大小,以位元組為單位。 |
Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
如果可以驗證驗證標籤,將加密文字解密至提供的目的地緩衝區。 |
Decrypt(Read |
如果可以驗證驗證標籤,將加密文字解密至提供的目的地緩衝區。 |
Dispose() |
釋放目前 AesGcm 類別實例所使用的資源。 |
Encrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
將純文字加密至加密文字目的地緩衝區,並將驗證標記產生至個別的緩衝區。 |
Encrypt(Read |
將純文字加密至加密文字目的地緩衝區,並將驗證標記產生至個別的緩衝區。 |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設哈希函式。 (繼承來源 Object) |
Get |
取得目前實例的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object的淺層複本。 (繼承來源 Object) |
To |
傳回表示目前 物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Standard | 2.1 |