다음을 통해 공유


ProtectedKey 생성자

정의

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

오버로드

Name Description
ProtectedKey(Byte[])

암호화 없이 클래스의 새 인스턴스를 ProtectedKey 초기화합니다.

ProtectedKey(Byte[], EncryptingCredentials)

지정된 암호화 자격 증명을 ProtectedKey 사용하여 클래스의 새 인스턴스를 초기화합니다.

ProtectedKey(Byte[])

암호화 없이 클래스의 새 인스턴스를 ProtectedKey 초기화합니다.

public:
 ProtectedKey(cli::array <System::Byte> ^ secret);
public ProtectedKey(byte[] secret);
new System.IdentityModel.Protocols.WSTrust.ProtectedKey : byte[] -> System.IdentityModel.Protocols.WSTrust.ProtectedKey
Public Sub New (secret As Byte())

매개 변수

secret
Byte[]

보호할 키 재질을 포함하는 배열 Byte 입니다.

설명

이 생성자를 사용하여 키 자료를 명확한 텍스트로 보냅니다. 속성 WrappingCredentials 이 새 ProtectedKey 인스턴스에서 설정 null 됩니다.

적용 대상

ProtectedKey(Byte[], EncryptingCredentials)

지정된 암호화 자격 증명을 ProtectedKey 사용하여 클래스의 새 인스턴스를 초기화합니다.

public:
 ProtectedKey(cli::array <System::Byte> ^ secret, System::IdentityModel::Tokens::EncryptingCredentials ^ wrappingCredentials);
public ProtectedKey(byte[] secret, System.IdentityModel.Tokens.EncryptingCredentials wrappingCredentials);
new System.IdentityModel.Protocols.WSTrust.ProtectedKey : byte[] * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Protocols.WSTrust.ProtectedKey
Public Sub New (secret As Byte(), wrappingCredentials As EncryptingCredentials)

매개 변수

secret
Byte[]

보호할 키 재질을 포함하는 배열 Byte 입니다.

wrappingCredentials
EncryptingCredentials

EncryptingCredentials 키 자료를 암호화하는 데 사용되는 자격 증명을 포함하는 항목입니다.

설명

이 생성자를 사용하여 암호화된 키 자료를 보냅니다.

적용 대상