다음을 통해 공유


ProtectedKey 생성자

정의

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

오버로드

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 속성이 nullProtectedKey 인스턴스.

적용 대상

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입니다.

설명

암호화 키 자료를 보내도록이 생성자를 사용 합니다.

적용 대상