Blame doc/functions/gnutls_x509_crl_export
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crl_export} (gnutls_x509_crl_t @var{crl}, gnutls_x509_crt_fmt_t @var{format}, void * @var{output_data}, size_t * @var{output_data_size})
|
|
Packit Service |
4684c1 |
@var{crl}: Holds the revocation list
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{format}: the format of output params. One of PEM or DER.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{output_data}: will contain a private key PEM or DER encoded
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{output_data_size}: holds the size of output_data (and will
|
|
Packit Service |
4684c1 |
be replaced by the actual size of parameters)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will export the revocation list to DER or PEM format.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
If the buffer provided is not long enough to hold the output, then
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_SHORT_MEMORY_BUFFER} will be returned.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
If the structure is PEM encoded, it will have a header
|
|
Packit Service |
4684c1 |
of "BEGIN X509 CRL".
|
|
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.
|
|
Packit Service |
4684c1 |
@end deftypefun
|