System.Security.Cryptograph ...


.NET Framework クラス ライブラリ
AesManaged クラス

更新 : 2007 年 11 月

高度暗号化標準 (AES: Advanced Encryption Standard) 対称アルゴリズムのマネージ実装を提供します。

名前空間 :  System.Security.Cryptography
アセンブリ :  System.Core (System.Core.dll 内)

構文

Visual Basic (宣言)
<HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort := True)> _
Public NotInheritable Class AesManaged _
    Inherits Aes
Visual Basic (使用法)
Dim instance As AesManaged
C#
[HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true)]
public sealed class AesManaged : Aes
Visual C++
[HostProtectionAttribute(SecurityAction::LinkDemand, MayLeakOnAbort = true)]
public ref class AesManaged sealed : public Aes
J#
/** @attribute HostProtectionAttribute(SecurityAction.LinkDemand, MayLeakOnAbort = true) */
public final class AesManaged extends Aes
JScript
public final class AesManaged extends Aes
解説

メモ :

この型またはメンバに適用される HostProtectionAttribute 属性の Resources プロパティの値は、MayLeakOnAbort です。HostProtectionAttribute は、デスクトップ アプリケーション (通常、アイコンのダブルクリック、コマンドの入力、またはブラウザへの URL の入力により起動されます) には影響しません。詳細については、HostProtectionAttribute クラスのトピックまたは「SQL Server プログラミングとホスト保護属性」を参照してください。

AES アルゴリズムは、基本的には、ブロック サイズと反復カウントが固定された Rijndael 対称アルゴリズムです。このクラスは、RijndaelManaged クラスと同じように機能しますが、ブロックが 128 ビットに制限されており、フィードバック モードを使用できません。

メモ :

連邦情報処理規格 (FIPS: Federal Information Processing Standard) 準拠のアルゴリズムに対する Windows セキュリティ ポリシーの設定が有効になっている場合にこのアルゴリズムを使用すると、CryptographicException がスローされます。

継承階層

System..::.Object
  System.Security.Cryptography..::.SymmetricAlgorithm
    System.Security.Cryptography..::.Aes
      System.Security.Cryptography..::.AesManaged
スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.5
参照

参照

タグ :


Page view tracker