CertificateOperations.CreateCertificateFromPfx 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.
Overloads
CreateCertificateFromPfx(Byte[], String) |
Obsolete.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from .pfx format data in memory. |
CreateCertificateFromPfx(String, String) |
Obsolete.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from a .pfx file. |
CreateCertificateFromPfx(Byte[], String)
- Source:
- CertificateOperations.cs
Caution
This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from .pfx format data in memory.
[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public Microsoft.Azure.Batch.Certificate CreateCertificateFromPfx (byte[] data, string password = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.CreateCertificateFromPfx : byte[] * string -> Microsoft.Azure.Batch.Certificate
Public Function CreateCertificateFromPfx (data As Byte(), Optional password As String = Nothing) As Certificate
Parameters
- data
- Byte[]
The certificate data in .pfx format.
- password
- String
The password to access the certificate private key. This can be null if the PFX is not protected by a password.
Returns
A Certificate representing a new certificate that has not been added to the Batch service.
- Attributes
Applies to
CreateCertificateFromPfx(String, String)
- Source:
- CertificateOperations.cs
Caution
This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Creates a new Certificate from a .pfx file.
[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public Microsoft.Azure.Batch.Certificate CreateCertificateFromPfx (string path, string password = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.CreateCertificateFromPfx : string * string -> Microsoft.Azure.Batch.Certificate
Public Function CreateCertificateFromPfx (path As String, Optional password As String = Nothing) As Certificate
Parameters
- path
- String
The path to the .pfx file.
- password
- String
The password to access the certificate private key. This can be null if the PFX is not protected by a password.
Returns
A Certificate representing a new certificate that has not been added to the Batch service.
- Attributes
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應