共用方式為


ArmIotFirmwareDefenseModelFactory.CryptoKeyResult Method

Definition

Initializes a new instance of CryptoKeyResult.

public static Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyResult CryptoKeyResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cryptoKeyId = 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.CryptoPairedKey pairedKey = default, bool? isShortKeySize = default);
static member CryptoKeyResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<int64> * string * seq<string> * seq<string> * Azure.ResourceManager.IotFirmwareDefense.Models.CryptoPairedKey * Nullable<bool> -> Azure.ResourceManager.IotFirmwareDefense.Models.CryptoKeyResult
Public Shared Function CryptoKeyResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cryptoKeyId 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 CryptoPairedKey = Nothing, Optional isShortKeySize As Nullable(Of Boolean) = Nothing) As CryptoKeyResult

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

cryptoKeyId
String

ID for the key result.

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 where this key was found.

pairedKey
CryptoPairedKey

A matching paired key or certificate.

isShortKeySize
Nullable<Boolean>

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

Returns

A new CryptoKeyResult instance for mocking.

Applies to