Function
Gcrfingerprint_from_subject_public_key_info
since: 3
Declaration [src]
guchar*
gcr_fingerprint_from_subject_public_key_info (
  const guchar* key_info,
  gsize n_key_info,
  GChecksumType checksum_type,
  gsize* n_fingerprint
)
Description [src]
Create a key fingerprint for a DER encoded subjectPublicKeyInfo. The fingerprint is created so that it will be identical for a key and its corresponding certificate.
Note that in the case of certificates this is not a fingerprint of the actual certificate data, but rather of the public key contained in a certificate.
Available since: 3
Parameters
- key_info
- 
            Type: An array of gucharDER encoded subjectPublicKeyInfo structure. The length of the array is specified in the n_key_infoargument.The data is owned by the caller of the function. 
- n_key_info
- 
            Type: gsizeLength of DER encoded structure. 
- checksum_type
- 
            Type: GChecksumTypeThe type of fingerprint to create. 
- n_fingerprint
- 
            Type: gsize*The length of fingerprint returned. The argument will be set by the function.