Function

Gcr-4Gcrfingerprint_from_attributes

  • Create a key fingerprint for a certificate, public key or private key. Note that this is not a fingerprint of certificate data, which you would use gcr_certificate_get_fingerprint() for.

    Parameters

    • attrs: Attributes

      attributes for key or certificate

    • checksum_type: ChecksumType

      the type of fingerprint to create

    Returns Uint8Array<ArrayBufferLike>

    the fingerprint or null if the input was invalid.