Muokkaa

Jaa


InMemorySymmetricSecurityKey Constructors

Definition

Initializes a new instance of the InMemorySymmetricSecurityKey class.

Overloads

InMemorySymmetricSecurityKey(Byte[])

Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key.

InMemorySymmetricSecurityKey(Byte[], Boolean)

Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key and a value that indicates whether the binary data must be cloned.

InMemorySymmetricSecurityKey(Byte[])

Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key.

public:
 InMemorySymmetricSecurityKey(cli::array <System::Byte> ^ symmetricKey);
public InMemorySymmetricSecurityKey (byte[] symmetricKey);
new System.IdentityModel.Tokens.InMemorySymmetricSecurityKey : byte[] -> System.IdentityModel.Tokens.InMemorySymmetricSecurityKey
Public Sub New (symmetricKey As Byte())

Parameters

symmetricKey
Byte[]

An array of Byte that contains the symmetric key.

Exceptions

symmetricKey is null.

symmetricKey is zero length.

Applies to

InMemorySymmetricSecurityKey(Byte[], Boolean)

Initializes a new instance of the InMemorySymmetricSecurityKey class using the specified symmetric key and a value that indicates whether the binary data must be cloned.

public:
 InMemorySymmetricSecurityKey(cli::array <System::Byte> ^ symmetricKey, bool cloneBuffer);
public InMemorySymmetricSecurityKey (byte[] symmetricKey, bool cloneBuffer);
new System.IdentityModel.Tokens.InMemorySymmetricSecurityKey : byte[] * bool -> System.IdentityModel.Tokens.InMemorySymmetricSecurityKey
Public Sub New (symmetricKey As Byte(), cloneBuffer As Boolean)

Parameters

symmetricKey
Byte[]

An array of Byte that contains the symmetric key.

cloneBuffer
Boolean

true to clone the array passed into the symmetricKey parameter; otherwise, false.

Exceptions

symmetricKey is null.

symmetricKey is zero length.

Applies to