RSA.Decrypt(Byte[], RSAEncryptionPadding) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
파생 클래스에서 재정의하는 경우 지정된 패딩 모드를 사용하여 입력 데이터를 해독합니다.
public:
virtual cli::array <System::Byte> ^ Decrypt(cli::array <System::Byte> ^ data, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public:
abstract cli::array <System::Byte> ^ Decrypt(cli::array <System::Byte> ^ data, System::Security::Cryptography::RSAEncryptionPadding ^ padding);
public virtual byte[] Decrypt (byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding);
public abstract byte[] Decrypt (byte[] data, System.Security.Cryptography.RSAEncryptionPadding padding);
abstract member Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
override this.Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
abstract member Decrypt : byte[] * System.Security.Cryptography.RSAEncryptionPadding -> byte[]
Public Overridable Function Decrypt (data As Byte(), padding As RSAEncryptionPadding) As Byte()
Public MustOverride Function Decrypt (data As Byte(), padding As RSAEncryptionPadding) As Byte()
매개 변수
- data
- Byte[]
해독할 데이터입니다.
- padding
- RSAEncryptionPadding
패딩 모드입니다.
반환
- Byte[]
암호 해독된 데이터입니다.
예외
data
또는 padding
가 null
인 경우
파생 클래스가 이 메서드를 재정의해야 합니다.
padding
은 알 수 없거나 이 구현에서 지원되지 않습니다.
또는
data
의 길이가 KeySize의 바이트 수와 같지 않습니다.
또는
이 인스턴스는 퍼블릭 키만 나타냅니다.
또는
암호 해독 작업에 실패했습니다.