EnvelopedCms 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
오버로드
| EnvelopedCms() |
기본값을 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다. |
| EnvelopedCms(ContentInfo) |
지정된 콘텐츠 정보를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다. |
| EnvelopedCms(ContentInfo, AlgorithmIdentifier) |
지정된 대칭 암호화 알고리즘 및 콘텐츠 정보를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다. |
| EnvelopedCms(SubjectIdentifierType, ContentInfo) |
UI에서 받는 사람을 선택할 때 지정된 콘텐츠 정보와 주체 식별자 체계를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다. |
| EnvelopedCms(SubjectIdentifierType, ContentInfo, AlgorithmIdentifier) |
UI에서 받는 사람을 선택할 때 지정된 대칭 암호화 알고리즘, 콘텐츠 정보 및 주체 식별자 체계를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다. |
EnvelopedCms()
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
기본값을 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
public:
EnvelopedCms();
public EnvelopedCms ();
Public Sub New ()
설명
클래스에는 EnvelopedCms 다음과 같은 기본 속성 값이 있습니다.
| 속성 | 기본값 |
|---|---|
| ContentInfo | 콘텐츠 형식: 1.2.840.113549.1.7.1(데이터) 길이: 0 |
| ContentEncryptionAlgorithm | 1.2.840.113549.3.7(RSA_DES_EDE3_CBC) 또는 2.16.840.1.101.3.4.1.42(AES-256-CBC) |
받는 사람의 기본값 SubjectIdentifierType 은 입니다 IssuerAndSerialNumber.
.NET Framework 기본 대칭 암호화 알고리즘은 애플리케이션 실행 파일이 빌드된 .NET Framework 버전에 따라 결정됩니다. .NET Framework 4.8부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서는 기본값이 CBC 모드의 TripleDES(DES3-EDE)입니다.
.NET Core에서 기본 대칭 암호화 알고리즘은 로드된 System.Security.Cryptography.Pkcs 어셈블리의 버전에 따라 결정됩니다. System.Security.Cryptography.Pkcs NuGet 패키지의 4.6.0 버전부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서 기본값은 CBC 모드의 TripleDES(DES3-EDE)입니다.
적용 대상
EnvelopedCms(ContentInfo)
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
지정된 콘텐츠 정보를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
public:
EnvelopedCms(System::Security::Cryptography::Pkcs::ContentInfo ^ contentInfo);
public EnvelopedCms (System.Security.Cryptography.Pkcs.ContentInfo contentInfo);
new System.Security.Cryptography.Pkcs.EnvelopedCms : System.Security.Cryptography.Pkcs.ContentInfo -> System.Security.Cryptography.Pkcs.EnvelopedCms
Public Sub New (contentInfo As ContentInfo)
매개 변수
- contentInfo
- ContentInfo
암호화할 메시지 콘텐츠입니다.
예외
contentInfo 매개 변수가 null인 경우
설명
받는 사람의 기본값 SubjectIdentifierType 은 입니다 IssuerAndSerialNumber.
.NET Framework 기본 대칭 암호화 알고리즘은 애플리케이션 실행 파일이 빌드된 .NET Framework 버전에 따라 결정됩니다. .NET Framework 4.8부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서는 기본값이 CBC 모드의 TripleDES(DES3-EDE)입니다.
.NET Core에서 기본 대칭 암호화 알고리즘은 로드된 System.Security.Cryptography.Pkcs 어셈블리의 버전에 따라 결정됩니다. System.Security.Cryptography.Pkcs NuGet 패키지의 4.6.0 버전부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서 기본값은 CBC 모드의 TripleDES(DES3-EDE)입니다.
추가 정보
적용 대상
EnvelopedCms(ContentInfo, AlgorithmIdentifier)
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
- Source:
- EnvelopedCms.cs
지정된 대칭 암호화 알고리즘 및 콘텐츠 정보를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
public:
EnvelopedCms(System::Security::Cryptography::Pkcs::ContentInfo ^ contentInfo, System::Security::Cryptography::Pkcs::AlgorithmIdentifier ^ encryptionAlgorithm);
public EnvelopedCms (System.Security.Cryptography.Pkcs.ContentInfo contentInfo, System.Security.Cryptography.Pkcs.AlgorithmIdentifier encryptionAlgorithm);
new System.Security.Cryptography.Pkcs.EnvelopedCms : System.Security.Cryptography.Pkcs.ContentInfo * System.Security.Cryptography.Pkcs.AlgorithmIdentifier -> System.Security.Cryptography.Pkcs.EnvelopedCms
Public Sub New (contentInfo As ContentInfo, encryptionAlgorithm As AlgorithmIdentifier)
매개 변수
- contentInfo
- ContentInfo
암호화할 메시지 콘텐츠입니다.
- encryptionAlgorithm
- AlgorithmIdentifier
메시지 콘텐츠를 암호화할 때 사용할 대칭 암호화 알고리즘의 식별자입니다.
예외
contentInfo 또는 encryptionAlgorithm 매개 변수가 null인 경우
설명
받는 사람의 기본값 SubjectIdentifierType 은 입니다 IssuerAndSerialNumber.
추가 정보
적용 대상
EnvelopedCms(SubjectIdentifierType, ContentInfo)
UI에서 받는 사람을 선택할 때 지정된 콘텐츠 정보와 주체 식별자 체계를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
public:
EnvelopedCms(System::Security::Cryptography::Pkcs::SubjectIdentifierType recipientIdentifierType, System::Security::Cryptography::Pkcs::ContentInfo ^ contentInfo);
public EnvelopedCms (System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo);
new System.Security.Cryptography.Pkcs.EnvelopedCms : System.Security.Cryptography.Pkcs.SubjectIdentifierType * System.Security.Cryptography.Pkcs.ContentInfo -> System.Security.Cryptography.Pkcs.EnvelopedCms
Public Sub New (recipientIdentifierType As SubjectIdentifierType, contentInfo As ContentInfo)
매개 변수
- recipientIdentifierType
- SubjectIdentifierType
UI 프롬프트에서 선택한 받는 사람 인증서에 사용할 주체 식별자 체계를 지정하는 열거형 값 중 하나입니다.
- contentInfo
- ContentInfo
암호화할 메시지 콘텐츠입니다.
예외
contentInfo 매개 변수가 null인 경우
설명
.NET Framework 기본 대칭 암호화 알고리즘은 애플리케이션 실행 파일이 빌드된 .NET Framework 버전에 따라 결정됩니다. .NET Framework 4.8부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서는 기본값이 CBC 모드의 TripleDES(DES3-EDE)입니다.
.NET Core에서 기본 대칭 암호화 알고리즘은 로드된 System.Security.Cryptography.Pkcs 어셈블리의 버전에 따라 결정됩니다. System.Security.Cryptography.Pkcs NuGet 패키지의 4.6.0 버전부터 기본 알고리즘은 CBC 모드의 AES-256입니다. 이전 버전에서 기본값은 CBC 모드의 TripleDES(DES3-EDE)입니다.
추가 정보
적용 대상
EnvelopedCms(SubjectIdentifierType, ContentInfo, AlgorithmIdentifier)
UI에서 받는 사람을 선택할 때 지정된 대칭 암호화 알고리즘, 콘텐츠 정보 및 주체 식별자 체계를 사용하여 EnvelopedCms 클래스의 새 인스턴스를 초기화합니다.
public:
EnvelopedCms(System::Security::Cryptography::Pkcs::SubjectIdentifierType recipientIdentifierType, System::Security::Cryptography::Pkcs::ContentInfo ^ contentInfo, System::Security::Cryptography::Pkcs::AlgorithmIdentifier ^ encryptionAlgorithm);
public EnvelopedCms (System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo, System.Security.Cryptography.Pkcs.AlgorithmIdentifier encryptionAlgorithm);
new System.Security.Cryptography.Pkcs.EnvelopedCms : System.Security.Cryptography.Pkcs.SubjectIdentifierType * System.Security.Cryptography.Pkcs.ContentInfo * System.Security.Cryptography.Pkcs.AlgorithmIdentifier -> System.Security.Cryptography.Pkcs.EnvelopedCms
Public Sub New (recipientIdentifierType As SubjectIdentifierType, contentInfo As ContentInfo, encryptionAlgorithm As AlgorithmIdentifier)
매개 변수
- recipientIdentifierType
- SubjectIdentifierType
UI 프롬프트에서 선택한 받는 사람 인증서에 사용할 주체 식별자 체계를 지정하는 열거형 값 중 하나입니다.
- contentInfo
- ContentInfo
암호화할 메시지 콘텐츠입니다.
- encryptionAlgorithm
- AlgorithmIdentifier
메시지 콘텐츠를 암호화할 때 사용할 대칭 암호화 알고리즘의 식별자입니다.
예외
contentInfo 또는 encryptionAlgorithm 매개 변수가 null인 경우