ArmIotFirmwareDefenseModelFactory.FirmwareCryptoCertificate Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance 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
Paramètres
- cryptoCertId
- String
ID du certificat.
- name
- String
Nom du certificat.
- subject
- FirmwareCryptoCertificateEntity
Informations sur l’objet du certificat.
Informations de l’émetteur du certificat.
- issuedOn
- Nullable<DateTimeOffset>
Date d’émission du certificat.
- expireOn
- Nullable<DateTimeOffset>
Date d’expiration du certificat.
- role
- String
Rôle du certificat (autorité de certification racine, etc.).
- signatureAlgorithm
- String
Algorithme de signature utilisé dans le certificat.
- keyAlgorithm
- String
Algorithme de clé utilisé dans le certificat.
- encoding
- String
Encodage utilisé pour le certificat.
- serialNumber
- String
Numéro de série du certificat.
- fingerprint
- String
Empreinte digitale du certificat.
- usage
- IEnumerable<String>
Liste des fonctions que le certificat peut remplir.
- filePaths
- IEnumerable<String>
Liste des chemins d’accès aux fichiers pour ce certificat.
- pairedKey
- PairedKey
Clé privée jumelée correspondante.
- isSelfSigned
- Nullable<IsSelfSigned>
Indique si le certificat a été auto-signé.
- isWeakSignature
- Nullable<IsWeakSignature>
Indique que l’algorithme de signature utilisé n’est pas sécurisé.
- isShortKeySize
- Nullable<IsShortKeySize>
Indique que la taille de clé du certificat est considérée comme trop petite pour être sécurisée pour l’algorithme de clé.
Retours
Une nouvelle FirmwareCryptoCertificate instance de moqueries.