summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_crq_get_spki
blob: aef14fd7b072aba19a2395814d5384a273379a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@deftypefun {int} {gnutls_x509_crq_get_spki} (gnutls_x509_crq_t @var{crq}, gnutls_x509_spki_t @var{spki}, unsigned int @var{flags})
@var{crq}: should contain a @code{gnutls_x509_crq_t}  type

@var{spki}: a SubjectPublicKeyInfo structure of type @code{gnutls_x509_spki_t} 

@var{flags}: must be zero

This function will return the public key information of a PKCS@code{10} 
certificate request. The provided  @code{spki} must be initialized.

@strong{Returns:} Zero on success, or a negative error code on error.
@end deftypefun