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비트 정수로 나타낼 수 없는 길이를 갖는 일반 텍스트 길이를 나타냅니다.