AesCcm クラス
定義
操作の Counter with CBC-MAC (CCM) モードで使用される Advanced Encryption Standard (AES) キーを表します。Represents an Advanced Encryption Standard (AES) key to be used with the Counter with CBC-MAC (CCM) mode of operation.
public ref class AesCcm sealed : IDisposable
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public sealed class AesCcm : IDisposable
public sealed class AesCcm : IDisposable
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type AesCcm = class
interface IDisposable
type AesCcm = class
interface IDisposable
Public NotInheritable Class AesCcm
Implements IDisposable
- 継承
-
AesCcm
- 属性
- 実装
コンストラクター
AesCcm(Byte[]) |
指定されたキーを使用して、AesCcm クラスの新しいインスタンスを初期化します。Initializes a new instance of the AesCcm class with a provided key. |
AesCcm(ReadOnlySpan<Byte>) |
指定されたキーを使用して、AesCcm クラスの新しいインスタンスを初期化します。Initializes a new instance of the AesCcm class with a provided key. |
プロパティ
NonceByteSizes |
このインスタンスでサポートされている nonce サイズをバイト単位で取得します。Gets the nonce sizes, in bytes, supported by this instance. |
TagByteSizes |
このインスタンスでサポートされているタグ サイズをバイト単位で取得します。Gets the tag sizes, in bytes, supported by this instance. |
メソッド
Decrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
認証タグを検証できる場合は、暗号化テキストを指定されたターゲット バッファーに暗号化解除します。Decrypts the ciphertext into the provided destination buffer if the authentication tag can be validated. |
Decrypt(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
認証タグを検証できる場合は、暗号化テキストを指定されたターゲット バッファーに暗号化解除します。Decrypts the ciphertext into the provided destination buffer if the authentication tag can be validated. |
Dispose() |
AesCcm クラスの現在のインスタンスによって使用されているリソースを解放します。Releases the resources used by the current instance of the AesCcm class. |
Encrypt(Byte[], Byte[], Byte[], Byte[], Byte[]) |
プレーンテキストを暗号化テキストのターゲット バッファーに暗号化し、別のバッファーに認証タグを生成します。Encrypts the plaintext into the ciphertext destination buffer and generates the authentication tag into a separate buffer. |
Encrypt(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Span<Byte>, Span<Byte>, ReadOnlySpan<Byte>) |
プレーンテキストを暗号化テキストのターゲット バッファーに暗号化し、別のバッファーに認証タグを生成します。Encrypts the plaintext into the ciphertext destination buffer and generates the authentication tag into a separate buffer. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |