Blame doc/functions/gnutls_pkcs7_get_crt_raw
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs7_get_crt_raw} (gnutls_pkcs7_t @var{pkcs7}, unsigned @var{indx}, void * @var{certificate}, size_t * @var{certificate_size})
|
|
Packit Service |
4684c1 |
@var{pkcs7}: should contain a gnutls_pkcs7_t type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{indx}: contains the index of the certificate to extract
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{certificate}: the contents of the certificate will be copied
|
|
Packit Service |
4684c1 |
there (may be null)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{certificate_size}: should hold the size of the certificate
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return a certificate of the PKCS7 or RFC2630
|
|
Packit Service |
4684c1 |
certificate set.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
After the last certificate has been read
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE} will be returned.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value. If the provided buffer is not long enough,
|
|
Packit Service |
4684c1 |
then @code{certificate_size} is updated and
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_SHORT_MEMORY_BUFFER} is returned.
|
|
Packit Service |
4684c1 |
@end deftypefun
|