Searched refs:ks (Results 1 – 2 of 2) sorted by relevance
130 std::string ks(key); in addUnsignedEntry() local131 if (u_entries.find(ks) != u_entries.end() || in addUnsignedEntry()132 s_entries.find(ks) != s_entries.end()) { in addUnsignedEntry()139 u_info[ks] = vals; in addUnsignedEntry()140 u_entries[ks] = default_value; in addUnsignedEntry()145 std::string ks(key); in addStringEntry() local146 if (u_entries.find(ks) != u_entries.end() || in addStringEntry()147 s_entries.find(ks) != s_entries.end()) { in addStringEntry()155 s_entries[ks] = std::string(default_value); in addStringEntry()160 std::string ks(key); in getUnsignedValue() local[all …]
176 BootKeystore ks = new BootKeystore(); in main() local179 ks.parse(Utils.read(args[1])); in main()182 if (ks.verify()) { in main()197 ks.setCertificate(Utils.loadPEMCertificate(certFname)); in main()200 ks.addPublicKey(Utils.read(args[i])); in main()203 ks.sign(Utils.loadDERPrivateKeyFromFile(privkeyFname)); in main()204 Utils.write(ks.getEncoded(), outfileFname); in main()