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
Azure SDK for .NET