fingerprint_from_subject_public_key_info
Description:
[ CCode ( array_length_pos = 2.1 , array_length_type = "gsize" ) ]
public uint8[]? fingerprint_from_subject_public_key_info (uint8[] key_info, ChecksumType checksum_type)
public uint8[]? fingerprint_from_subject_public_key_info (uint8[] key_info, ChecksumType checksum_type)
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.
Parameters:
key_info |
DER encoded subjectPublicKeyInfo structure |
checksum_type |
the type of fingerprint to create |
n_fingerprint |
the length of fingerprint returned |
n_key_info |
length of DER encoded structure |
Returns:
the fingerprint or null if the input was invalid. |
Namespace: Gcr
Package: gcr-4