EnvelopedCms.Decrypt 메서드

정의

디코딩된 봉투형 CMS/PKCS#7 메시지의 내용을 해독합니다.

오버로드

Name Description
Decrypt(RecipientInfo, X509Certificate2Collection)

인증서 저장소 및 제공된 컬렉션에서 일치하는 인증서 및 키를 검색하여 지정된 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

Decrypt(RecipientInfo, AsymmetricAlgorithm)

지정된 개인 키가 있는 지정된 받는 사람 정보를 통해 디코딩된 봉투형 CMS/PKCS#7 메시지의 내용을 해독합니다.

Decrypt()

인증서 저장소에서 일치하는 인증서 및 키를 검색하여 사용 가능한 받는 사람을 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

Decrypt(RecipientInfo)

인증서 저장소에서 일치하는 인증서 및 키를 검색하여 지정된 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

Decrypt(X509Certificate2Collection)

인증서 저장소 및 제공된 컬렉션에서 일치하는 인증서 및 키를 검색하여 사용 가능한 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

Decrypt(RecipientInfo, X509Certificate2Collection)

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

인증서 저장소 및 제공된 컬렉션에서 일치하는 인증서 및 키를 검색하여 지정된 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

public:
 void Decrypt(System::Security::Cryptography::Pkcs::RecipientInfo ^ recipientInfo, System::Security::Cryptography::X509Certificates::X509Certificate2Collection ^ extraStore);
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore);
member this.Decrypt : System.Security.Cryptography.Pkcs.RecipientInfo * System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> unit
Public Sub Decrypt (recipientInfo As RecipientInfo, extraStore As X509Certificate2Collection)

매개 변수

recipientInfo
RecipientInfo

암호 해독에 사용할 받는 사람 정보입니다.

extraStore
X509Certificate2Collection

받는 사람 인증서 및 프라이빗 키를 찾기 위해 인증서 저장소 외에 사용할 인증서의 컬렉션입니다.

예외

recipientInfo 또는 extraStore 매개 변수가 .입니다null.

암호화 작업을 완료할 수 없습니다.

개체의 현재 상태에 대한 메서드 호출이 잘못되었습니다.

설명

.NET Framework에서 암호 해독 키에 액세스하려면 다음 권한이 필요합니다.

적용 대상

Decrypt(RecipientInfo, AsymmetricAlgorithm)

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

지정된 개인 키가 있는 지정된 받는 사람 정보를 통해 디코딩된 봉투형 CMS/PKCS#7 메시지의 내용을 해독합니다.

public:
 void Decrypt(System::Security::Cryptography::Pkcs::RecipientInfo ^ recipientInfo, System::Security::Cryptography::AsymmetricAlgorithm ^ privateKey);
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo, System.Security.Cryptography.AsymmetricAlgorithm? privateKey);
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo, System.Security.Cryptography.AsymmetricAlgorithm privateKey);
member this.Decrypt : System.Security.Cryptography.Pkcs.RecipientInfo * System.Security.Cryptography.AsymmetricAlgorithm -> unit
Public Sub Decrypt (recipientInfo As RecipientInfo, privateKey As AsymmetricAlgorithm)

매개 변수

recipientInfo
RecipientInfo

암호 해독에 사용할 받는 사람 정보입니다.

privateKey
AsymmetricAlgorithm

받는 사람별 정보의 암호를 해독하는 데 사용할 프라이빗 키입니다.

예외

recipientInfo 또는 privateKey 매개 변수가 .입니다null.

암호화 작업을 완료할 수 없습니다.

개체의 현재 상태에 대한 메서드 호출이 잘못되었습니다.

설명

다른 오버로드와 Decrypt달리 이 오버로드는 인증서 저장소를 검색하지 않습니다. 이 메서드를 MatchesCertificate(X509Certificate2) 사용하여 예상 인증서 RecipientInfo.RecipientIdentifier 를 값과 수동으로 일치하여 수신자 정보 값에 대한 프라이빗 키의 적용 가능성을 평가할 수 있습니다.

추가 정보

적용 대상

Decrypt()

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

인증서 저장소에서 일치하는 인증서 및 키를 검색하여 사용 가능한 받는 사람을 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

public:
 void Decrypt();
public void Decrypt();
member this.Decrypt : unit -> unit
Public Sub Decrypt ()

예외

암호화 작업을 완료할 수 없습니다.

개체의 현재 상태에 대한 메서드 호출이 잘못되었습니다.

설명

EnvelopedCms.Decode는 이전 또는 다른 EnvelopedCms.Decrypt() 메서드를 Decrypt 호출해야 합니다.

이 메서드는 Decrypt() 액세스할 수 없는 경우 내 저장소 컴퓨터를 검색하지 않습니다.

.NET Framework에서 암호 해독 키에 액세스하려면 다음 권한이 필요합니다.

적용 대상

Decrypt(RecipientInfo)

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

인증서 저장소에서 일치하는 인증서 및 키를 검색하여 지정된 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

public:
 void Decrypt(System::Security::Cryptography::Pkcs::RecipientInfo ^ recipientInfo);
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo);
member this.Decrypt : System.Security.Cryptography.Pkcs.RecipientInfo -> unit
Public Sub Decrypt (recipientInfo As RecipientInfo)

매개 변수

recipientInfo
RecipientInfo

암호 해독에 사용할 받는 사람 정보입니다.

예외

매개 변수는 recipientInfo .입니다 null.

암호화 작업을 완료할 수 없습니다.

개체의 현재 상태에 대한 메서드 호출이 잘못되었습니다.

설명

.NET Framework에서 암호 해독 키에 액세스하려면 다음 권한이 필요합니다.

적용 대상

Decrypt(X509Certificate2Collection)

Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs
Source:
EnvelopedCms.cs

인증서 저장소 및 제공된 컬렉션에서 일치하는 인증서 및 키를 검색하여 사용 가능한 받는 사람 정보를 통해 디코딩된 봉투 CMS/PKCS#7 메시지의 내용을 해독합니다.

public:
 void Decrypt(System::Security::Cryptography::X509Certificates::X509Certificate2Collection ^ extraStore);
public void Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore);
member this.Decrypt : System.Security.Cryptography.X509Certificates.X509Certificate2Collection -> unit
Public Sub Decrypt (extraStore As X509Certificate2Collection)

매개 변수

extraStore
X509Certificate2Collection

받는 사람 인증서 및 프라이빗 키를 찾기 위해 인증서 저장소 외에 사용할 인증서의 컬렉션입니다.

예외

매개 변수는 extraStore .입니다 null.

암호화 작업을 완료할 수 없습니다.

개체의 현재 상태에 대한 메서드 호출이 잘못되었습니다.

설명

.NET Framework에서 암호 해독 키에 액세스하려면 다음 권한이 필요합니다.

적용 대상