4 ms·
Yes! For example, in the GSS-API the various complex, opaque objects in the C bindings are specified in the RFC (2744) as: typedef <platform-specific> gss_
by cryptonector 6y ago
Yes! For example, in the GSS-API the various complex, opaque objects in the C bindings are specified in the RFC (2744) as:
typedef <platform-specific> gss_ctx_id_t;
typedef <platform-specific> gss_cred_id_t;
typedef <platform-specific> gss_name_t;
Sadly this is always a pointer in actual implementations, but should have been a handle, where a handle is a structure containing two fields: an index or pointer-like value, and a verifier that can be used to check that the handle is [still] valid. Using a handle would have made it possible to get much better memory safety.