ArmIotFirmwareDefenseModelFactory.FirmwareCryptoCertificate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- cryptoCertId
- String
ID for the certificate.
- name
- String
Name of the certificate.
- subject
- FirmwareCryptoCertificateEntity
Subject information of the certificate.
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.
- 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 paths for this certificate.
- pairedKey
- PairedKey
A matching paired private key.
- isSelfSigned
- Nullable<IsSelfSigned>
Indicates if the certificate was self-signed.
- isWeakSignature
- Nullable<IsWeakSignature>
Indicates the signature algorithm used is insecure.
- isShortKeySize
- Nullable<IsShortKeySize>
Indicates the certificate's key size is considered too small to be secure for the key algorithm.
Returns
A new FirmwareCryptoCertificate instance for mocking.
Applies to
Azure SDK for .NET