Share via


KeyVaultCertificate.Cer Property

Definition

Gets the CER formatted public X509 certificate.

public byte[] Cer { get; }
member this.Cer : byte[]
Public ReadOnly Property Cer As Byte()

Property Value

Byte[]

Remarks

This property contains only the public key. If you must retrieve the key pair including the private key instead of performing cryptographic operations in Azure Key Vault, see the sample: https://docs.microsoft.com/samples/azure/azure-sdk-for-net/get-certificate-private-key

Applies to