SymmetricKey Constructors

Definition

Overloads

SymmetricKey()

Default constructor

SymmetricKey(String)

Constructor.

SymmetricKey(String, Byte[])

Constructor

SymmetricKey(String, Int32)

Constructor

SymmetricKey()

Default constructor

public SymmetricKey ();
Public Sub New ()

Applies to

SymmetricKey(String)

Constructor.

public SymmetricKey (string kid);
new Microsoft.Azure.KeyVault.SymmetricKey : string -> Microsoft.Azure.KeyVault.SymmetricKey
Public Sub New (kid As String)

Parameters

kid
System.String

The key identifier to use

Applies to

SymmetricKey(String, Byte[])

Constructor

public SymmetricKey (string kid, byte[] keyBytes);
new Microsoft.Azure.KeyVault.SymmetricKey : string * byte[] -> Microsoft.Azure.KeyVault.SymmetricKey
Public Sub New (kid As String, keyBytes As Byte())

Parameters

kid
System.String

The key identifier

keyBytes
System.Byte[]

The key material

Applies to

SymmetricKey(String, Int32)

Constructor

public SymmetricKey (string kid, int keySize);
new Microsoft.Azure.KeyVault.SymmetricKey : string * int -> Microsoft.Azure.KeyVault.SymmetricKey
Public Sub New (kid As String, keySize As Integer)

Parameters

kid
System.String

The key identifier to use

keySize
System.Int32

The key size in bytes

Applies to