Blob Blame History Raw




@deftypefun {int} {gnutls_x509_ext_import_authority_key_id} (const gnutls_datum_t * @var{ext}, gnutls_x509_aki_t @var{aki}, unsigned int @var{flags})
@var{ext}: a DER encoded extension

@var{aki}: An initialized authority key identifier type

@var{flags}: should be zero

This function will return the subject key ID stored in the provided
AuthorityKeyIdentifier extension.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, @code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE} 
if the extension is not present, otherwise a negative error value.

@strong{Since:} 3.3.0
@end deftypefun