ediSecurities

The ediSecurities object provides general security functionalities.  The ediSecurities object also maintains a collection of ediSecurity objects, which act like security tokens for other entities.

Cryptographic Service Providers

For security services, Framework EDI (FREDI) uses the services provided by the Cryptographic Service Providers (CSP) available in the Windows operating system (after Windows 95).  The Cryptographic Service Providers are third-party libraries each having security services they are willing to support like encryption and digital signatures, or other algorithms.  The set of security services they are willing to support puts a particular CSP into a category of a provider type.  

In each CSP, there is a database that contain records of key containers; each key container has a unique name to keep them distinct from each other.  A key container can have two public/private key pairs: the Key Exchange key pair and the Signature key pair.

 

Default Cryptographic Service Provider

When an instance of FREDI is created, one of its initialization routines has to determine a default CSP context, which is the default service provider and key container it can use to provide security services.  After having determined the default service provider to use, FREDI checks to see if the key container "FrameworkEDI_Secure_Context_00" already exists in that service provider.  If the key container exists then it will use that key container as default, but if it does not, then the key container is added.  The key container then becomes the default CSP for FREDI, and all security services requiring the use of the public and private key pair will use one of the key pairs in the default key container.  However, this default can be changed using the  SetDefaultCSP method, or by individually setting the properties DefaultKeyContainer, DefaultProviderName and/or ServiceProviderType.

Methods

Properties