Show / Hide Table of Contents

GetCertificates Method

GetCertificates(KeyReference)

Retrieves the certificates associated with the given keyReference.

C#
public IReadOnlyList<X509Certificate2> GetCertificates(KeyReference keyReference)

Parameters

Type Name Description
KeyReference keyReference

The key reference for which the certificates should be retrieved.

Returns

IReadOnlyList<X509Certificate2>

A list of X.509 certificates associated with the key reference. The leaf certificate is the last certificate in the list

Exceptions

Type Condition
SecureChannelException

Thrown when there was an SCP error, described in the exception message.

In this article
Back to top Generated by DocFX