Blame doc/functions/gnutls_x509_privkey_set_spki
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_privkey_set_spki} (gnutls_x509_privkey_t @var{key}, const gnutls_x509_spki_t @var{spki}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{key}: should contain a @code{gnutls_x509_privkey_t} type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{spki}: a SubjectPublicKeyInfo structure of type @code{gnutls_x509_spki_t}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: must be zero
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will return the public key information of a private
|
|
Packit Service |
4684c1 |
key. The provided @code{spki} must be initialized.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} Zero on success, or a negative error code on error.
|
|
Packit Service |
4684c1 |
@end deftypefun
|