![]() |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
Interface for data authority validation including certificates check, binary data check, etc. More...
#include <authority_validator_interface.h>
Public Member Functions | |
| virtual SDKResult SDK_CALLTYPE | CreateCertificate (const PublicCryptoKeySP &public_key, const PrivateCryptoKeySP &private_key, DigitalCertificateSP &certificate) const =0 throw () |
| Creates a new certificate by signing the public key with appropriate private key (For S-63 only, DSA512 with SHA1) | |
| virtual SDKResult SDK_CALLTYPE | ValidateCertificate (const DigitalCertificateSP &certificate, const PublicCryptoKeySP &public_key, bool &is_certificate_valid) const =0 throw () |
| Checks, if given certificate is valid against passed public key Supports only following certificate formats: DSA512 with SHA1 (S-63) DSA1024 with SHA256 (S-100) DSA2048 with SHA256 (S-100) | |
| virtual SDKResult SDK_CALLTYPE | CreateDataSignature (const DigitalCertificateSP &digital_certificate, const PrivateCryptoKeySP &private_key, const base::SDKStreamSP &data_stream, DataSignatureSP &data_signature) const =0 throw () |
| Creates a data signature for given data stream (For S-63 only, DSA512 with SHA1) | |
| virtual SDKResult SDK_CALLTYPE | ValidateDataSignature (const DataSignatureSP &data_signature, const base::SDKStreamSP &data_stream, bool &is_data_signature_valid) const =0 throw () |
| Checks, if given data signature is valid against data stream Supports only following data signature formats: DSA512 with SHA1 (S-63) DSA1024 with SHA256 (S-100) DSA2048 with SHA256 (S-100) | |
Public Member Functions inherited from ISDKComponent | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | AddRef () const =0 throw () |
| Increments the reference count for an interface on a component. | |
| virtual SDKAtomicRefCount SDK_CALLTYPE | Release () const =0 throw () |
| Decrements the reference count for an interface on a component. | |
| virtual SDKResult SDK_CALLTYPE | GetInterface (const InterfaceId &id, void **obj_ptr)=0 throw () |
| Returns pointers to the supported interfaces on a component. | |
| template<typename _Itf > | |
| SDKResult | GetInterface (_Itf **obj_ptr) throw () |
| Returns pointers to the supported interfaces on a component. | |
Interface for data authority validation including certificates check, binary data check, etc.