NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
s63_dataserver_keys_creator_interface.h
Go to the documentation of this file.
1 #ifndef SDK_S63_DATASERVER_KEYS_CREATOR_INTERFACE_H_
12 #define SDK_S63_DATASERVER_KEYS_CREATOR_INTERFACE_H_
13 
14 #include <base/inc/platform.h>
15 #include <base/inc/base_types.h>
17 #include <base/inc/sdk_ref_ptr.h>
19 
20 namespace sdk {
21 namespace s63 {
22 
23 
24 class IS63DataserverKeysCreator;
25 typedef sdk::SDKRefPtr<IS63DataserverKeysCreator> S63DataserverKeysCreatorSP;
29 class IS63DataserverKeysCreator : public sdk::ISDKComponent
30 {
31 public:
34  virtual SDKResult SDK_CALLTYPE CreatePrivatePublicKeys(
35  sdk::crypt::PrivateCryptoKeySP& private_crypto_key,
36  sdk::crypt::PublicCryptoKeySP& public_crypto_key) const throw() = 0;
37 
39  SDK_IMPLEMENT_IID(IS63DataserverKeysCreator)
40  SDK_END_INTERFACE(IS63DataserverKeysCreator)
41 };
42 SDK_DECLARE_IID(IS63DataserverKeysCreator)
43 
44 } // namespace s63
45 } // namespace sdk
46 
47 #endif // SDK_S63_DATASERVER_KEYS_CREATOR_INTERFACE_H_
sdk::s63::IS63DataserverKeysCreator
The interface to create a pair of public/private keys for further use in DataServer implementation.
Definition: s63_dataserver_keys_creator_interface.h:29
base_types.h
SDK base types.
sdk_ref_ptr.h
Interfaces wrapper with reference count control.
asymmetric_crypto_key_interface.h
Set of interfaces for asymmetric cryptographic key implementation.
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk::s63::IS63DataserverKeysCreator::CreatePrivatePublicKeys
virtual SDKResult SDK_CALLTYPE CreatePrivatePublicKeys(sdk::crypt::PrivateCryptoKeySP &private_crypto_key, sdk::crypt::PublicCryptoKeySP &public_crypto_key) const =0
Creates a new pair of private/public keys for dataserver purposes. These keys are fully compatible wi...
sdk_component_interface.h
Common base SDK interfaces.
platform.h
Describes the platform constants.