BinarySecretSecurityToken 생성자

정의

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

오버로드

Name Description
BinarySecretSecurityToken(Byte[])

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

BinarySecretSecurityToken(Int32)

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

BinarySecretSecurityToken(String, Byte[])

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

BinarySecretSecurityToken(String, Int32)

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

BinarySecretSecurityToken(String, Byte[], Boolean)

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

BinarySecretSecurityToken(String, Int32, Boolean)

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

BinarySecretSecurityToken(Byte[])

Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs

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

public:
 BinarySecretSecurityToken(cli::array <System::Byte> ^ key);
public BinarySecretSecurityToken(byte[] key);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : byte[] -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Public Sub New (key As Byte())

매개 변수

key
Byte[]

키를 나타내는 바이트 배열입니다.

예제

다음 코드에서는 생성자를 호출하는 방법을 보여 줍니다.

BinarySecretSecurityToken CreateProofToken(byte[] proofKey)
{
    return new BinarySecretSecurityToken(proofKey);
}
Function CreateProofToken(ByVal proofKey() As Byte) As BinarySecretSecurityToken
    Return New BinarySecretSecurityToken(proofKey)

End Function

적용 대상

BinarySecretSecurityToken(Int32)

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

public:
 BinarySecretSecurityToken(int keySizeInBits);
public BinarySecretSecurityToken(int keySizeInBits);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : int -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Public Sub New (keySizeInBits As Integer)

매개 변수

keySizeInBits
Int32

키 크기(비트)입니다.

적용 대상

BinarySecretSecurityToken(String, Byte[])

Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs

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

public:
 BinarySecretSecurityToken(System::String ^ id, cli::array <System::Byte> ^ key);
public BinarySecretSecurityToken(string id, byte[] key);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : string * byte[] -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Public Sub New (id As String, key As Byte())

매개 변수

id
String

토큰 ID입니다.

key
Byte[]

키를 나타내는 바이트 배열입니다.

적용 대상

BinarySecretSecurityToken(String, Int32)

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

public:
 BinarySecretSecurityToken(System::String ^ id, int keySizeInBits);
public BinarySecretSecurityToken(string id, int keySizeInBits);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : string * int -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Public Sub New (id As String, keySizeInBits As Integer)

매개 변수

id
String

토큰 ID입니다.

keySizeInBits
Int32

키 크기(비트)입니다.

예외

keySizeInBits 0보다 작거나 같거나 512보다 크거나 같거나 8의 배수가 아닙니다.

적용 대상

BinarySecretSecurityToken(String, Byte[], Boolean)

Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs

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

protected:
 BinarySecretSecurityToken(System::String ^ id, cli::array <System::Byte> ^ key, bool allowCrypto);
protected BinarySecretSecurityToken(string id, byte[] key, bool allowCrypto);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : string * byte[] * bool -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Protected Sub New (id As String, key As Byte(), allowCrypto As Boolean)

매개 변수

id
String

토큰 ID입니다.

key
Byte[]

키를 나타내는 바이트 배열입니다.

allowCrypto
Boolean

암호화를 허용할지 여부를 나타내는 A Boolean 입니다.

예외

keynull입니다.

적용 대상

BinarySecretSecurityToken(String, Int32, Boolean)

Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs
Source:
BinarySecretSecurityToken.cs

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

protected:
 BinarySecretSecurityToken(System::String ^ id, int keySizeInBits, bool allowCrypto);
protected BinarySecretSecurityToken(string id, int keySizeInBits, bool allowCrypto);
new System.ServiceModel.Security.Tokens.BinarySecretSecurityToken : string * int * bool -> System.ServiceModel.Security.Tokens.BinarySecretSecurityToken
Protected Sub New (id As String, keySizeInBits As Integer, allowCrypto As Boolean)

매개 변수

id
String

토큰 ID입니다.

keySizeInBits
Int32

키 크기(비트)입니다.

allowCrypto
Boolean

암호화를 허용할지 여부를 나타내는 A Boolean 입니다.

예외

keySizeInBits 0보다 작거나 같거나 512보다 크거나 같거나 8의 배수가 아닙니다.

적용 대상