Blame doc/functions/gnutls_x509_policies_get
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_policies_get} (gnutls_x509_policies_t @var{policies}, unsigned int @var{seq}, struct gnutls_x509_policy_st * @var{policy})
|
|
Packit Service |
4684c1 |
@var{policies}: The policies
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{seq}: The index of the name to get
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{policy}: Will hold the policy
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return a specific policy as stored in
|
|
Packit Service |
4684c1 |
the @code{policies} type. The returned values should be treated as constant
|
|
Packit Service |
4684c1 |
and valid for the lifetime of @code{policies} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The any policy OID is available as the @code{GNUTLS_X509_OID_POLICY_ANY} macro.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, @code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE}
|
|
Packit Service |
4684c1 |
if the index is out of bounds, otherwise a negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|