Show / Hide Table of Contents

StoreCertificates Method

StoreCertificates(KeyReference, IReadOnlyList<X509Certificate2>)

Store a list of certificates associated with the given key reference using the GlobalPlatform STORE DATA command.

C#
public void StoreCertificates(KeyReference keyReference, IReadOnlyList<X509Certificate2> certificates)

Parameters

Type Name Description
KeyReference keyReference

The key reference associated with the certificates.

IReadOnlyList<X509Certificate2> certificates

The certificates to store.

Exceptions

Type Condition
ArgumentException

Thrown when certificatedata

SecureChannelException

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

Remarks

The certificates will be stored in the order they are provided in the list.

See GlobalPlatform Technology Card Specification v2.3.1 ยง11 APDU Command Reference for more information.

In this article
Back to top Generated by DocFX