4.11.4. Cryptographic Services service

The Cryptographic Services service runs three RPC services, available on the following endpoints:

Y:\>ifids -p ncalrpc -e keysvc serveur
Interfaces: 40

[...]

  8d0ffe72-d252-11d0-bf8f-00c04fd9126b v1.0
  0d72a7d4-6148-11d1-b4aa-00c04fb66ea0 v1.0
  f50aac00-c7f3-428e-a022-a6b71bfb9d43 v.1.0

[...]

Y:\>ifids -p ncacn_np -e \pipe\keysvc \\.
Interfaces: 40

[...]

  8d0ffe72-d252-11d0-bf8f-00c04fd9126b v1.0
  0d72a7d4-6148-11d1-b4aa-00c04fb66ea0 v1.0
  f50aac00-c7f3-428e-a022-a6b71bfb9d43 v.1.0

[...]

Table 4.71. IKeySvc operations

InterfaceOperation numberOperation name
8d0ffe72-d252-11d0-bf8f-00c04fd9126b v1.0: IKeySvc  
 0x00KeyrOpenKeyService
 0x01KeyrEnumerateProviders
 0x02KeyrEnumerateProviderTypes
 0x03KeyrEnumerateProvContainers
 0x04KeyrCloseKeyService
 0x05KeyrGetDefaultProvider
 0x06KeyrSetDefaultProvider
 0x07KeyrEnroll
 0x08KeyrExportCert
 0x09KeyrImportCert
 0x0aKeyrEnumerateAvailableCertTypes
 0x0bKeyrEnumerateCAs
 0x0cKeyrEnroll_V2
 0x0dKeyrQueryRequestStatus

In Windows Vista, the IKeySvc interface is replaced by the IKeySvc2 interface, with the following endpoints:

Y:\>ifids -p ncalrpc -e keysvc2 vista
Interfaces: 56

[...]

  68b58241-c259-4f03-a2e5-a2651dcbc930 v1.0
  0d72a7d4-6148-11d1-b4aa-00c04fb66ea0 v1.0
  f50aac00-c7f3-428e-a022-a6b71bfb9d43 v.1.0

[...]

Table 4.72. IKeySvc2 operations

InterfaceOperation numberOperation name
68b58241-c259-4f03-a2e5-a2651dcbc930 v1.0: IKeySvc2  
 0x00KSrSubmitRequest
 0x01KSrGetTemplates
 0x02KSrGetCAs

Table 4.73. ICertProtect operations

InterfaceOperation numberOperation name
0d72a7d4-6148-11d1-b4aa-00c04fb66ea0 v1.0: ICertProtect  
 0x00SSCertProtectFunction

Table 4.74. ICatDBSvc operations

InterfaceOperation numberOperation name
f50aac00-c7f3-428e-a022-a6b71bfb9d43 v.1.0: ICatDBSvc  
 0x00SSCatDBAddCatalog
 0x01SSCatDBDeleteCatalog
 0x02SSCatDBEnumCatalogs
 0x03SSCatDBRegisterForChangeNotification
 0x04KeyrCloseKeyService
 0x04SSCatDBRebuildDatabase