Partilhar via


ArmIotFirmwareDefenseModelFactory.FirmwareCryptoCertificate Método

Definição

Inicializa uma nova instância de FirmwareCryptoCertificate.

public static Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificate FirmwareCryptoCertificate (string cryptoCertId = default, string name = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificateEntity subject = default, Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificateEntity 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.PairedKey pairedKey = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsExpired? isExpired = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsSelfSigned? isSelfSigned = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsWeakSignature? isWeakSignature = default, Azure.ResourceManager.IotFirmwareDefense.Models.IsShortKeySize? isShortKeySize = default);
static member FirmwareCryptoCertificate : string * string * Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificateEntity * Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificateEntity * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<int64> * string * string * string * string * seq<string> * seq<string> * Azure.ResourceManager.IotFirmwareDefense.Models.PairedKey * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsExpired> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsSelfSigned> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsWeakSignature> * Nullable<Azure.ResourceManager.IotFirmwareDefense.Models.IsShortKeySize> -> Azure.ResourceManager.IotFirmwareDefense.Models.FirmwareCryptoCertificate
Public Shared Function FirmwareCryptoCertificate (Optional cryptoCertId As String = Nothing, Optional name As String = Nothing, Optional subject As FirmwareCryptoCertificateEntity = Nothing, Optional issuer As FirmwareCryptoCertificateEntity = 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 PairedKey = Nothing, Optional isExpired As Nullable(Of IsExpired) = Nothing, Optional isSelfSigned As Nullable(Of IsSelfSigned) = Nothing, Optional isWeakSignature As Nullable(Of IsWeakSignature) = Nothing, Optional isShortKeySize As Nullable(Of IsShortKeySize) = Nothing) As FirmwareCryptoCertificate

Parâmetros

cryptoCertId
String

ID do certificado.

name
String

Nome do certificado.

subject
FirmwareCryptoCertificateEntity

Informações do assunto do certificado.

issuer
FirmwareCryptoCertificateEntity

Informações do emissor do certificado.

issuedOn
Nullable<DateTimeOffset>

Data de emissão do certificado.

expireOn
Nullable<DateTimeOffset>

Data de validade do certificado.

role
String

Função do certificado (AC raiz, etc.).

signatureAlgorithm
String

O algoritmo de assinatura usado no certificado.

keySize
Nullable<Int64>

Tamanho da chave do certificado em bits.

keyAlgorithm
String

Algoritmo de chave usado no certificado.

encoding
String

Codificação usada para o certificado.

serialNumber
String

Número de série do certificado.

fingerprint
String

Impressão digital do certificado.

usage
IEnumerable<String>

Lista de funções que o certificado pode atender.

filePaths
IEnumerable<String>

Lista de caminhos de arquivos para este certificado.

pairedKey
PairedKey

Uma chave privada emparelhada correspondente.

isExpired
Nullable<IsExpired>

Indica se o certificado expirou.

isSelfSigned
Nullable<IsSelfSigned>

Indica se o certificado foi autoassinado.

isWeakSignature
Nullable<IsWeakSignature>

Indica que o algoritmo de assinatura usado não é seguro.

isShortKeySize
Nullable<IsShortKeySize>

Indica que o tamanho da chave do certificado é considerado muito pequeno para ser seguro para o algoritmo de chave.

Retornos

Uma nova FirmwareCryptoCertificate instância para simulação.

Aplica-se a