Delen via


ArmIotFirmwareDefenseModelFactory.CryptoCertificateResult Method

Definition

Initializes a new instance of CryptoCertificateResult.

public static Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateResult CryptoCertificateResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cryptoCertId = default, string namePropertiesName = default, Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateEntity subject = default, Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateEntity issuer = default, DateTimeOffset? issuedOn = default, DateTimeOffset? expireOn = default, string role = default, string signatureAlgorithm = default, long? keySize = default, string keyAlgorithm = default, string encoding = default, string serialNumber = default, string fingerprint = default, System.Collections.Generic.IEnumerable<string> usage = default, System.Collections.Generic.IEnumerable<string> filePaths = default, Azure.ResourceManager.IotFirmwareDefense.Models.CryptoPairedKey pairedKey = default, bool? isExpired = default, bool? isSelfSigned = default, bool? isWeakSignature = default, bool? isShortKeySize = default);
static member CryptoCertificateResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateEntity * Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateEntity * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int64> * string * string * string * string * seq<string> * seq<string> * Azure.ResourceManager.IotFirmwareDefense.Models.CryptoPairedKey * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.IotFirmwareDefense.Models.CryptoCertificateResult
Public Shared Function CryptoCertificateResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cryptoCertId As String = Nothing, Optional namePropertiesName As String = Nothing, Optional subject As CryptoCertificateEntity = Nothing, Optional issuer As CryptoCertificateEntity = Nothing, Optional issuedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional role As String = Nothing, Optional signatureAlgorithm As String = Nothing, Optional keySize As Nullable(Of Long) = Nothing, Optional keyAlgorithm As String = Nothing, Optional encoding As String = Nothing, Optional serialNumber As String = Nothing, Optional fingerprint As String = Nothing, Optional usage As IEnumerable(Of String) = Nothing, Optional filePaths As IEnumerable(Of String) = Nothing, Optional pairedKey As CryptoPairedKey = Nothing, Optional isExpired As Nullable(Of Boolean) = Nothing, Optional isSelfSigned As Nullable(Of Boolean) = Nothing, Optional isWeakSignature As Nullable(Of Boolean) = Nothing, Optional isShortKeySize As Nullable(Of Boolean) = Nothing) As CryptoCertificateResult

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

cryptoCertId
String

ID for the certificate result.

namePropertiesName
String

Name of the certificate.

subject
CryptoCertificateEntity

Subject information of the certificate.

issuer
CryptoCertificateEntity

Issuer information of the certificate.

issuedOn
Nullable<DateTimeOffset>

Issue date for the certificate.

expireOn
Nullable<DateTimeOffset>

Expiration date for the certificate.

role
String

Role of the certificate (Root CA, etc).

signatureAlgorithm
String

The signature algorithm used in the certificate.

keySize
Nullable<Int64>

Size of the certificate's key in bits.

keyAlgorithm
String

Key algorithm used in the certificate.

encoding
String

Encoding used for the certificate.

serialNumber
String

Serial number of the certificate.

fingerprint
String

Fingerprint of the certificate.

usage
IEnumerable<String>

List of functions the certificate can fulfill.

filePaths
IEnumerable<String>

List of files where this certificate was found.

pairedKey
CryptoPairedKey

A matching paired private key.

isExpired
Nullable<Boolean>

Indicates if the certificate is expired.

isSelfSigned
Nullable<Boolean>

Indicates if the certificate is self-signed.

isWeakSignature
Nullable<Boolean>

Indicates the signature algorithm used is insecure.

isShortKeySize
Nullable<Boolean>

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

Returns

A new CryptoCertificateResult instance for mocking.

Applies to