@deftypefun {int} {gnutls_pkcs11_obj_get_flags} (gnutls_pkcs11_obj_t @var{obj}, unsigned int * @var{oflags}) @var{obj}: The pkcs11 object @var{oflags}: Will hold the output flags This function will return the flags of the object. The @code{oflags} will be flags from @code{gnutls_pkcs11_obj_flags} . That is, the @code{GNUTLS_PKCS11_OBJ_FLAG_MARK_} * flags. @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a negative error value. @strong{Since:} 3.3.7 @end deftypefun