X509Attestation.CreateFromCaReferences(String, String) 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.
Factory with certficiate authority references with primary and secondary.
public static Microsoft.Azure.Devices.Provisioning.Service.X509Attestation CreateFromCaReferences (string primary, string secondary = default);
static member CreateFromCaReferences : string * string -> Microsoft.Azure.Devices.Provisioning.Service.X509Attestation
Public Shared Function CreateFromCaReferences (primary As String, Optional secondary As String = Nothing) As X509Attestation
Parameters
- primary
- String
The string with the primary certificate. It cannot be null or empty.
- secondary
- String
The string with the secondary certificate. It can be null or empty (ignored).
Returns
The new instance of the X509Attestation.
Exceptions
If the provided primary
string is null.
If the provided primary
string is empty or white space.
If the one of the provided primary
or secondary
certificate is invalid.
Applies to
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro