12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- extern "C" {
- typedef struct funcs_called {
- bool asym_enc
- bool asym_dec
- bool sym_enc
- bool sym_dec
- bool asym_sign
- bool asym_verify
- bool sym_sign
- bool sym_verify
- bool newContext
- bool deleteContext
- bool makeCertificateThumbprint
- bool generateKey
- bool generateNonce
- bool setLocalSymEncryptingKey
- bool setLocalSymSigningKey
- bool setLocalSymIv
- bool setRemoteSymEncryptingKey
- bool setRemoteSymSigningKey
- bool setRemoteSymIv
- } funcs_called
- typedef struct key_sizes {
- size_t sym_enc_blockSize
- size_t sym_sig_keyLen
- size_t sym_enc_keyLen
- size_t asym_rmt_sig_size
- size_t asym_lcl_sig_size
- size_t asym_rmt_ptext_blocksize
- size_t asym_rmt_enc_key_size
- size_t asym_lcl_enc_key_size
- } key_sizes
- UA_StatusCode UA_EXPORT
- TestingPolicy(UA_SecurityPolicy *policy, const UA_ByteString localCertificate,
- funcs_called *fCalled, const key_sizes *kSizes)
- }
|