다음을 통해 공유


EncryptedKeyEncryptingCredentials 생성자

정의

EncryptedKeyEncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

오버로드

EncryptedKeyEncryptingCredentials(X509Certificate2)

지정된 X.509 인증서를 기반으로 EncryptedKeyEncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

EncryptedKeyEncryptingCredentials(EncryptingCredentials, Int32, String)

지정된 EncryptedKeyEncryptingCredentials 개체, 키 크기, 암호화 알고리즘을 기반으로 EncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

EncryptedKeyEncryptingCredentials(X509Certificate2, String, Int32, String)

지정된 X.509 인증서, 래핑 알고리즘, 키 크기, 암호화 알고리즘을 기반으로 EncryptedKeyEncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

EncryptedKeyEncryptingCredentials(X509Certificate2)

지정된 X.509 인증서를 기반으로 EncryptedKeyEncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

public:
 EncryptedKeyEncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate);
public EncryptedKeyEncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate);
new System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 -> System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials
Public Sub New (certificate As X509Certificate2)

매개 변수

certificate
X509Certificate2

키를 암호화하는 데 사용하는 인증서입니다.

설명

래핑 자격 증명이 X.509 인증서를 기본 줄 바꿈 RSA-OAEP와 AES256는 각각 알고리즘 및 암호화 알고리즘을 사용 하려는 경우이 생성자를 사용 합니다.

적용 대상

EncryptedKeyEncryptingCredentials(EncryptingCredentials, Int32, String)

지정된 EncryptedKeyEncryptingCredentials 개체, 키 크기, 암호화 알고리즘을 기반으로 EncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

public:
 EncryptedKeyEncryptingCredentials(System::IdentityModel::Tokens::EncryptingCredentials ^ wrappingCredentials, int keySizeInBits, System::String ^ encryptionAlgorithm);
public EncryptedKeyEncryptingCredentials (System.IdentityModel.Tokens.EncryptingCredentials wrappingCredentials, int keySizeInBits, string encryptionAlgorithm);
new System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials : System.IdentityModel.Tokens.EncryptingCredentials * int * string -> System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials
Public Sub New (wrappingCredentials As EncryptingCredentials, keySizeInBits As Integer, encryptionAlgorithm As String)

매개 변수

wrappingCredentials
EncryptingCredentials

세션 키를 암호화하는 데 사용되는 키 래핑 자격 증명입니다.

keySizeInBits
Int32

래핑된 세션 키의 키 크기입니다.

encryptionAlgorithm
String

세션 키가 사용되는 경우 암호화 알고리즘을 나타내는 URI입니다. 이 알고리즘은 대칭 키 알고리즘이어야 합니다.

예외

wrappingCredentialsnull입니다.

설명

이미 있는 경우이 생성자를 사용 하는 EncryptingCredentials 개체 래핑 자격 증명으로 사용 하려고 합니다.

적용 대상

EncryptedKeyEncryptingCredentials(X509Certificate2, String, Int32, String)

지정된 X.509 인증서, 래핑 알고리즘, 키 크기, 암호화 알고리즘을 기반으로 EncryptedKeyEncryptingCredentials 클래스의 새 인스턴스를 초기화합니다.

public:
 EncryptedKeyEncryptingCredentials(System::Security::Cryptography::X509Certificates::X509Certificate2 ^ certificate, System::String ^ keyWrappingAlgorithm, int keySizeInBits, System::String ^ encryptionAlgorithm);
public EncryptedKeyEncryptingCredentials (System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, string keyWrappingAlgorithm, int keySizeInBits, string encryptionAlgorithm);
new System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials : System.Security.Cryptography.X509Certificates.X509Certificate2 * string * int * string -> System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials
Public Sub New (certificate As X509Certificate2, keyWrappingAlgorithm As String, keySizeInBits As Integer, encryptionAlgorithm As String)

매개 변수

certificate
X509Certificate2

키를 암호화하는 데 사용하는 인증서입니다.

keyWrappingAlgorithm
String

키 줄 바꿈 알고리즘을 나타내는 URI입니다. 이 알고리즘은 비대칭 알고리즘이어야 합니다.

keySizeInBits
Int32

래핑된 세션 키의 키 크기입니다.

encryptionAlgorithm
String

세션 키가 사용되는 경우 암호화 알고리즘을 나타내는 URI입니다. 이 알고리즘은 대칭 키 알고리즘이어야 합니다.

설명

래핑 자격 증명은 X.509 인증서 및 사용자 고유의 래핑 알고리즘 및 암호화 알고리즘을 제공 하려는 경우이 생성자를 사용 합니다.

적용 대상