type

 TScCertProviderType = (ptMemory, ptFile, ptRegistry, ptSystem, ptSystemRegistry, ptPhysical);

 

property CertProviderType: TScCertProviderType;

 

Description

Specifies the provider type. It determines where certificates will be stored. Usage of CertLocation and CertStoreName properties is related to the value of CertProviderType.

 

Default value of this property is ptSystem.

 

ValueMeaning

 

ptMemoryCreates a certificate store in cached memory. Typically used to create a temporary store. The CertLocation and CertStoreName properties are not used for this provider type.

 

ptFileInitializes the store with certificates from a file. The CertStoreName specifies the patch to the file with data. If the file with specified name does not exists when accessing the storage, the provider will try to create it. If the file exists, the storage will load certificates list from the file into the Certificates property. The CertLocation property is not used. When the storage refers to the underlying file, it opens it and blocks so that other application cannot open it.

 

ptRegistryInitializes the store with certificates from a registry subkey. A registry key should be specified in the CertStoreName property, where the certificate list is stored. If the specified key does not exist, the provider will try to create it. The CertLocation property indicates the root key for the storage.

 

ptSystemInitializes the store with certificates from the specified system store. The system store is a logical collection store that consists of one or more physical sibling stores. After the system store is opened, all of the physical stores that are associated with it are also opened and are added to the system store collection. The CertLocation indicates the system store location. The CertStoreName specifies the system store name. For each system store location, the predefined systems stores are: 'MY', 'Root', 'Trust', 'CA'.

 

ptSystemRegistryEnters into storages set determined by ptSystem. Initializes the store with certificates from a physical registry store. The CertLocation indicates the system store location. The CertStoreName specifies a system store name. For each system store location, the predefined systems stores are: 'MY', 'Root', 'Trust', 'CA'.

 

ptPhysicalEnters into storages set determined by ptSystem. Initializes the store with certificates from a specified physical store. The CertLocation indicates the system store location. The CertStoreName consists of two parts separated with an intervening backslash (\), for example Root\.LocalMachine. Where Root is the name of the system store, and .LocalMachine is the name of the physical store.

 

See Also

CertLocation

CertStoreName

SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support