|
OpenVPN 3 Core Library
|
Records what unwrap_tls_crypt_wkc() handed the hook, and answers with accept.
More...
Public Member Functions | |
| MetadataRecorder (bool accept) | |
| bool | verify (int type, Buffer &metadata) const override |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| RC () noexcept=default | |
| RC (const RC &)=delete | |
| virtual | ~RC ()=default |
| RC & | operator= (const RC &)=delete |
| olong | use_count () const noexcept |
| Delegates call to RCImpl and returns the result. | |
Public Attributes | |
| unsigned int | n_calls = 0 |
| int | type_seen = -2 |
| -1 would mean "WKc carried no metadata" | |
| std::string | payload_seen |
Private Attributes | |
| const bool | accept_ |
| what verify() returns | |
Additional Inherited Members | |
Public Types inherited from openvpn::TLSCryptMetadata | |
| using | Ptr = RCPtr< TLSCryptMetadata > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result. | |
Records what unwrap_tls_crypt_wkc() handed the hook, and answers with accept.
Definition at line 385 of file test_psid_cookie.cpp.
|
inlineexplicit |
Definition at line 388 of file test_psid_cookie.cpp.
|
inlineoverridevirtual |
Reimplemented from openvpn::TLSCryptMetadata.
Definition at line 393 of file test_psid_cookie.cpp.
|
private |
what verify() returns
Definition at line 406 of file test_psid_cookie.cpp.
|
mutable |
Definition at line 401 of file test_psid_cookie.cpp.
|
mutable |
Definition at line 403 of file test_psid_cookie.cpp.
|
mutable |
-1 would mean "WKc carried no metadata"
Definition at line 402 of file test_psid_cookie.cpp.