 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_CRYPT_ASYMMETRIC_CRYPTO_KEY_INTERFACE_H_
11 #define SDK_CRYPT_ASYMMETRIC_CRYPTO_KEY_INTERFACE_H_
18 #include <base/inc/forward_declarations.h>
24 typedef SDKArray PrivateKeyData;
25 typedef SDKArray PublicKeyData;
28 typedef IPublicCryptoKeySP PublicCryptoKeySP;
31 typedef IPrivateCryptoKeySP PrivateCryptoKeySP;
37 kPrivatePublicKeyType_Unknown = 0,
38 kPrivatePublicKeyType_DSA512 = 1,
39 kPrivatePublicKeyType_DSA1024 = 2,
40 kPrivatePublicKeyType_DSA2048 = 3,
54 PublicKeyData& public_key)
const throw() = 0;
73 PrivateKeyData& private_key) const throw() = 0;
84 #endif // SDK_CRYPT_ASYMMETRIC_CRYPTO_KEY_INTERFACE_H_
PrivatePublicKeyType
Private/Public key type.
Definition: asymmetric_crypto_key_interface.h:35
A list of SDK error/return results.
Interfaces wrapper with reference count control.
virtual PrivatePublicKeyType SDK_CALLTYPE GetPrivateKeyType() const =0
Returns private key type.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
virtual SDKResult SDK_CALLTYPE GetPrivateKeyData(PrivateKeyData &private_key) const =0
Returns the private crypto-key data The key data format depends of the crypto-algorithms in use.
Public crypto-key instance.
Definition: asymmetric_crypto_key_interface.h:45
Common base SDK interfaces.
Base cryptographic key interface.
virtual SDKResult SDK_CALLTYPE GetPublicKeyData(PublicKeyData &public_key) const =0
Returns the public crypto-key data The key data format depends of the crypto-algorithms in use.
virtual PrivatePublicKeyType SDK_CALLTYPE GetPublicKeyType() const =0
Returns public key type.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
Private crypto-key instance.
Definition: asymmetric_crypto_key_interface.h:64
Base cryptographic key interface.
Definition: crypto_key_interface.h:26
Wrapper for handling the SDKArray instance.