CertificateModelFactory.KeyVaultCertificate(CertificateProperties, Uri, Uri, Byte[]) Method

Definition

Initializes a new instance of the KeyVaultCertificate for mocking purposes.

public static Azure.Security.KeyVault.Certificates.KeyVaultCertificate KeyVaultCertificate (Azure.Security.KeyVault.Certificates.CertificateProperties properties, Uri keyId = default, Uri secretId = default, byte[] cer = default);
static member KeyVaultCertificate : Azure.Security.KeyVault.Certificates.CertificateProperties * Uri * Uri * byte[] -> Azure.Security.KeyVault.Certificates.KeyVaultCertificate
Public Shared Function KeyVaultCertificate (properties As CertificateProperties, Optional keyId As Uri = Nothing, Optional secretId As Uri = Nothing, Optional cer As Byte() = Nothing) As KeyVaultCertificate

Parameters

properties
CertificateProperties

Sets the Properties property.

keyId
Uri

Sets the KeyId property.

secretId
Uri

Sets the SecretId property.

cer
Byte[]

Sets the Cer property.

Returns

KeyVaultCertificate

A new instance of the KeyVaultCertificate for mocking purposes.

Applies to