raw key and signature access and conversion More...
| Functions | |
| size_t | sldns_rr_dnskey_key_size_raw (const unsigned char *keydata, const size_t len, int alg) | 
| get the length of the keydata in bits | |
| uint16_t | sldns_calc_keytag_raw (uint8_t *key, size_t keysize) | 
| Calculates keytag of DNSSEC key, operates on wireformat rdata. | |
raw key and signature access and conversion
Since those functions heavily rely op cryptographic operations, this module is dependent on openssl.
| size_t sldns_rr_dnskey_key_size_raw | ( | const unsigned char * | keydata, | 
| const size_t | len, | ||
| int | alg | ||
| ) | 
get the length of the keydata in bits
| [in] | keydata | the raw key data | 
| [in] | len | the length of the keydata | 
| [in] | alg | the cryptographic algorithm this is a key for | 
Referenced by dnskey_get_keysize(), dnskey_size_is_supported(), and rr_comment_dnskey().
| uint16_t sldns_calc_keytag_raw | ( | uint8_t * | key, | 
| size_t | keysize | ||
| ) | 
Calculates keytag of DNSSEC key, operates on wireformat rdata.
| [in] | key | the key as uncompressed wireformat rdata. | 
| [in] | keysize | length of key data. | 
Referenced by auth_rr_to_string(), check_contains_revoked(), dnskey_calc_keytag(), rr_comment_dnskey(), and verbose_key().