EncryptedKeyEncryptingCredentials 생성자

정의

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

오버로드

Name Description
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 인증서이고 사용자 고유의 래핑 알고리즘 및 암호화 알고리즘을 제공하려는 경우 이 생성자를 사용합니다.

적용 대상