001 package org.cumulus4j.keystore;
002
003 import java.util.Collections;
004 import java.util.SortedSet;
005 import java.util.TreeSet;
006
007 public final class KeyStoreVersion {
008
009 private KeyStoreVersion() { }
010
011 public static final int[] VERSION_SUPPORTED = { 1, 2 };
012 public static final SortedSet<Integer> VERSION_SUPPORTED_SET;
013 static {
014 SortedSet<Integer> s = new TreeSet<Integer>();
015 for (int ver : VERSION_SUPPORTED)
016 s.add(ver);
017
018 VERSION_SUPPORTED_SET = Collections.unmodifiableSortedSet(s);
019 }
020
021 public static final int VERSION_CURRENT = 2;
022
023 }