Skip to main content

CryptoCertificateStore.Add

Add

Syntax

Add(<Certificate>)

Parameters

<Certificate> (required)

Type: CryptoCertificate, CryptoKeysContainer. Certificate to add. On the mobile platform a container of cryptographic keys can be used instead of the certificate.

Description

Adds a certificate to the store.

This method requires the cryptography extension installed to operate in the web client. In the web client, the method is supported only in the Internet Explorer browser, if the configuration uses synchronous calls for platform extensions and add-ins.

Availability

Thin client, web-client, mobile client, server, thick client, external connection, mobile application (client), mobile application (server), mobile standalone server.

Note

In case of error the exception is generated. On iOS mobile platform, the same certificate or container of cryptographic keys cannot be added several times, even to storages of different types.

See also

CryptoCertificateStore, method BeginAdding CryptoCertificateStore, method AddAsync

Translation

Русская версия: ХранилищеСертификатовКриптографии.Добавить (CryptoCertificateStore.Add)