 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
1 #ifndef SDK_CRYPT_BASE_CRYPTOR_INTERFACE_H_
11 #define SDK_CRYPT_BASE_CRYPTOR_INTERFACE_H_
17 #include <base/inc/forward_declarations.h>
27 typedef IBaseCryptorSP BaseCryptorSP;
28 typedef IBaseCryptorSCP BaseCryptorSCP;
35 L
"BaseCryptorProp_PaddingType";
54 const base::SDKStreamSP& in_stream,
55 const base::SDKStreamSP& out_stream)
const throw() = 0;
60 const base::SDKStreamSP& in_stream,
61 const base::SDKStreamSP& out_stream)
const throw() = 0;
76 #endif // SDK_CRYPT_BASE_CRYPTOR_INTERFACE_H_
virtual SDKResult SDK_CALLTYPE Decrypt(const CryptoKeySP &crypto_key, const base::SDKStreamSP &in_stream, const base::SDKStreamSP &out_stream) const =0
Decrypts the data from stream by using crypto key and writes the given data to output stream.
A list of SDK error/return results.
Interfaces wrapper with reference count control.
@ kPaddingType_None
Padding is disabled.
Definition: base_cryptor_interface.h:41
@ kPaddingType_PKCS7
PKCS7 padding type.
Definition: base_cryptor_interface.h:43
PaddingType
Possible value for kBaseCryptorProp_PaddingType property.
Definition: base_cryptor_interface.h:39
@ kPaddingType_Zeroes
Zeroes will be used as padding pattern.
Definition: base_cryptor_interface.h:42
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Generic data stream interface.
Common base SDK interfaces.
Base cryptographic key interface.
Base cryptor interface, for encryption/decryption implementation.
Definition: base_cryptor_interface.h:48
static const wchar_t kBaseCryptorProp_PaddingType[]
Set of property names for cryptors.
Definition: base_cryptor_interface.h:34
Object generic named properties interface.
virtual SDKResult SDK_CALLTYPE Encrypt(const CryptoKeySP &crypto_key, const base::SDKStreamSP &in_stream, const base::SDKStreamSP &out_stream) const =0
Encrypts the data from stream by using crypto key and writes the given data to output stream.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.