Aes.GetKeyWrapPaddedLength(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定されたプレーンテキスト長の埋め込みアルゴリズムを使用して IETF RFC 5649 AES キー ラップの出力長を計算します。
public:
static int GetKeyWrapPaddedLength(int plaintextLengthInBytes);
public static int GetKeyWrapPaddedLength(int plaintextLengthInBytes);
static member GetKeyWrapPaddedLength : int -> int
Public Shared Function GetKeyWrapPaddedLength (plaintextLengthInBytes As Integer) As Integer
パラメーター
- plaintextLengthInBytes
- Int32
ラップするプレーンテキストの長さ (バイト単位)。
返品
指定したプレーンテキストのキー ラップの埋め込まれた長さ。
例外
plaintextLengthInBytes が 0 以下です。
-又は-
plaintextLengthInBytes は、ラップ時に符号付き 32 ビット整数として表すことができない長さを持つプレーンテキストの長さを表します。