fu-efi-signature: fwupd Reference Manual

## fu-efi-signature fu-efi-signature |

## Functions

const gchar * | fu_efi_signature_kind_to_string ()
FuEfiSignatureKind | fu_efi_signature_get_kind ()
const gchar * | fu_efi_signature_get_owner ()

## Types and Values

#define | FU_TYPE_EFI_SIGNATURE
enum | FuEfiSignatureKind
#define | FU_EFI_SIGNATURE_GUID_ZERO
#define | FU_EFI_SIGNATURE_GUID_MICROSOFT
#define | FU_EFI_SIGNATURE_GUID_OVMF
#define | FU_EFI_SIGNATURE_GUID_OVMF_LEGACY
| FuEfiSignature

## Description

## Functions

### fu_efi_signature_kind_to_string ()

    const gchar *
    fu_efi_signature_kind_to_string (FuEfiSignatureKind kind);

Converts the signature kind to a text representation.

#### Parameters

kind | A FuEfiSignatureKind, e.g. `FU_EFI_SIGNATURE_KIND_X509` |

#### Returns

text, e.g. `x509_cert`

Since: 1.5.5

### fu_efi_signature_get_kind ()

    FuEfiSignatureKind
    fu_efi_signature_get_kind (FuEfiSignature *self);

Returns the signature kind.

#### Parameters

self | A FuEfiSignature |

#### Returns

FuEfiSignatureKind, e.g. `FU_EFI_SIGNATURE_KIND_SHA256`

Since: 1.5.5

### fu_efi_signature_get_owner ()

    const gchar *
    fu_efi_signature_get_owner (FuEfiSignature *self);

Returns the GUID of the signature owner.

#### Parameters

self | A FuEfiSignature |

#### Returns

GUID owner, perhaps `FU_EFI_SIGNATURE_GUID_MICROSOFT`

Since: 1.5.5

## Types and Values

### FU_TYPE_EFI_SIGNATURE

    #define FU_TYPE_EFI_SIGNATURE (fu_efi_signature_get_type ())

### enum FuEfiSignatureKind

The kind of EFI signature.

#### Members

FU_EFI_SIGNATURE_KIND_UNKNOWN | No signature |
FU_EFI_SIGNATURE_KIND_SHA256 | SHA256 hash |
FU_EFI_SIGNATURE_KIND_X509 | X509 certificate |

### FU_EFI_SIGNATURE_GUID_ZERO

    #define FU_EFI_SIGNATURE_GUID_ZERO		"00000000-0000-0000-0000-000000000000"

### FU_EFI_SIGNATURE_GUID_MICROSOFT

    #define FU_EFI_SIGNATURE_GUID_MICROSOFT		"77fa9abd-0359-4d32-bd60-28f4e78f784b"

### FU_EFI_SIGNATURE_GUID_OVMF

    #define FU_EFI_SIGNATURE_GUID_OVMF		"a0baa8a3-041d-48a8-bc87-c36d121b5e3d"

### FU_EFI_SIGNATURE_GUID_OVMF_LEGACY

    #define FU_EFI_SIGNATURE_GUID_OVMF_LEGACY "d5c1df0b-1bac-4edf-ba48-08834009ca5a"

### FuEfiSignature

    typedef struct _FuEfiSignature FuEfiSignature;

A UEFI Signature as found in an `EFI_SIGNATURE_LIST`.

See also: [class`FuFirmware` ]