Lines Matching refs:kvno
273 * keys with same etype, the one with the highest kvno is returned.
329 // about their order, use kvno is OK.
376 * @param kvno the kvno to use, -1 means automatic increasing
377 * @param append false if entries with old kvno would be removed.
378 * Note: if kvno is not -1, entries with the same kvno are always removed
381 int kvno, boolean append) throws KrbException {
389 int maxKvno = 0; // only useful when kvno == -1
396 if (!append || e.keyVersion == kvno) {
401 if (kvno == -1) {
402 kvno = maxKvno + 1;
412 kvno, keyType, keyValue);
468 * @param kvno what kvno to remove, -1 for all, -2 for old
471 public int deleteEntries(PrincipalName service, int etype, int kvno) {
474 // Remember the highest KVNO for each etype. Used for kvno == -2
481 if (kvno == -2) {
482 // Two rounds for kvno == -2. In the first round (here),
492 } else if (kvno == -1 || e.keyVersion == kvno) {
500 // Second round for kvno == -2, remove old entries
501 if (kvno == -2) {