diff options
Diffstat (limited to 'src/libserver/dkim.h')
-rw-r--r-- | src/libserver/dkim.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libserver/dkim.h b/src/libserver/dkim.h index adc68403a..6245dc512 100644 --- a/src/libserver/dkim.h +++ b/src/libserver/dkim.h @@ -269,6 +269,13 @@ rspamd_dkim_key_t *rspamd_dkim_make_key (const gchar *keydata, guint keylen, GError **err); /** + * Returns key id for dkim key (first 7 bytes of base64 representation) + * @param key + * @return + */ +const gchar *rspamd_dkim_key_id (rspamd_dkim_key_t *key); + +/** * Parse DKIM public key from a TXT record * @param txt * @param keylen |