summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crq_get_challenge_password
blob: 2e01474d84afae2ebc73968c40ebbfd00abf042e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@deftypefun {int} {gnutls_x509_crq_get_challenge_password} (gnutls_x509_crq_t @var{crq}, char * @var{pass}, size_t * @var{pass_size})
@var{crq}: should contain a @code{gnutls_x509_crq_t}  type

@var{pass}: will hold a (0)-terminated password string

@var{pass_size}: Initially holds the size of  @code{pass} .

This function will return the challenge password in the request.
The challenge password is intended to be used for requesting a
revocation of the certificate.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun