silc_ssh_public_key_get_field

SYNOPSIS

    const char *silc_ssh_public_key_get_field(SilcSshPublicKey public_key,
                                              const char *field);

DESCRIPTION

Returns public key header field `field' value from the public key or NULL if such header field was not present in the public key.

EXAMPLE

    subject = silc_ssh_public_key_get_field(public_key, "Subject");
    comment = silc_ssh_public_key_get_field(public_key, "Comment");