Delen via


ArmIotFirmwareDefenseModelFactory.FirmwareCryptoKey Method

Definition

Initializes a new instance of FirmwareCryptoKey.

public static Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoKey FirmwareCryptoKey (string firmwareCryptoKeyId = default, string keyType = default, long? keySize = default, string keyAlgorithm = default, System.Collections.Generic.IEnumerable<string> usage = default, System.Collections.Generic.IEnumerable<string> filePaths = default, Azure.ResourceManager.IotFirmwareDefense.Models.PairedKey pairedKey = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsShortKeySize? isShortKeySize = default);
static member FirmwareCryptoKey : string * string * Nullable<int64> * string * seq<string> * seq<string> * Azure.ResourceManager.IotFirmwareDefense.Models.PairedKey * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsShortKeySize> -> Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoKey
Public Shared Function FirmwareCryptoKey (Optional firmwareCryptoKeyId As String = Nothing, Optional keyType As String = Nothing, Optional keySize As Nullable(Of Long) = Nothing, Optional keyAlgorithm As String = Nothing, Optional usage As IEnumerable(Of String) = Nothing, Optional filePaths As IEnumerable(Of String) = Nothing, Optional pairedKey As PairedKey = Nothing, Optional isShortKeySize As Nullable(Of IsShortKeySize) = Nothing) As FirmwareCryptoKey

Parameters

firmwareCryptoKeyId
String

ID for the key.

keyType
String

Type of the key (public or private).

keySize
Nullable<Int64>

Size of the key in bits.

keyAlgorithm
String

Key algorithm name.

usage
IEnumerable<String>

Functions the key can fulfill.

filePaths
IEnumerable<String>

List of files paths for this key.

pairedKey
PairedKey

A matching paired key or certificate.

isShortKeySize
Nullable<IsShortKeySize>

Indicates the key size is considered too small to be secure for the algorithm.

Returns

A new FirmwareCryptoKey instance for mocking.

Applies to