Aes.GetKeyWrapPaddedLength(Int32) 메서드

정의

지정된 일반 텍스트 길이에 대한 패딩 알고리즘을 사용하여 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비트 정수로 나타낼 수 없는 길이를 갖는 일반 텍스트 길이를 나타냅니다.

적용 대상