code: public void
  addTrustedKey(Name name, int alg, PublicKey key) {
  	Record rec;
  	rec = KEYConverter.buildRecord(name, Type.DNSKEY, DClass.IN, 0, 0,
  				       DNSKEYRecord.Protocol.DNSSEC, alg, key);
  	if (rec != null)
  		addTrustedKey((DNSKEYRecord) rec);
  }
docs: Adds the specified key to the set of trusted keys