Lines Matching refs:pubkey
439 dst_key_t *pubkey = NULL, *key = NULL;
458 result = dst_key_read_public(newfilename, type, mctx, &pubkey);
464 (pubkey->key_flags & DNS_KEYFLAG_TYPEMASK) == DNS_KEYTYPE_NOKEY) {
465 result = computeid(pubkey);
467 dst_key_free(&pubkey);
471 *keyp = pubkey;
475 result = algorithm_status(pubkey->key_alg);
477 dst_key_free(&pubkey);
481 key = get_key_struct(pubkey->key_name, pubkey->key_alg,
482 pubkey->key_flags, pubkey->key_proto, 0,
483 pubkey->key_class, mctx);
484 id = pubkey->key_id;
485 dst_key_free(&pubkey);