Function

Valentcertificate_get_public_key

unstable since: 1.0

Declaration [src]

GByteArray*
valent_certificate_get_public_key (
  GTlsCertificate* certificate
)

Description [src]

Get the public key of certificate.

Available since: 1.0

Parameters

certificate

Type: GTlsCertificate

A GTlsCertificate.

The data is owned by the caller of the function.

Return value

Type: An array of guint8

A DER-encoded publickey.

The data is owned by the called function.