@Test public void testCipherSpecs() { Map<Integer, CipherSpec> availableCipherSpecs = CipherSpecs.getAvailableCipherSpecs(); assertEquals(4, availableCipherSpecs.size()); assertEquals(availableCipherSpecs.get(CipherSpecs.AES_128_GCM).getAlgorithm(), "AES/GCM/NoPadding"); }
public static Map<Integer, CipherSpec> getAvailableCipherSpecs() { return cipherSpecs; }
CipherSpecs { public static Map<Integer, CipherSpec> getAvailableCipherSpecs() { return cipherSpecs; } }
CipherSpecs { public static Map<Integer, CipherSpec> getAvailableCipherSpecs() { return cipherSpecs; }  }
CipherSpecs { public static Map<Integer, CipherSpec> getAvailableCipherSpecs() { return cipherSpecs; }  static Map<Integer, CipherSpec> getAvailableCipherSpecs(); static List<CipherSpec> getDefaultCipherSpecs(); static CipherSpec getCipherSpec(int id); static void registerCipherSpec(int id, CipherSpec cipherSpec); }
CipherSpecs { public static Map<Integer, CipherSpec> getAvailableCipherSpecs() { return cipherSpecs; }  static Map<Integer, CipherSpec> getAvailableCipherSpecs(); static List<CipherSpec> getDefaultCipherSpecs(); static CipherSpec getCipherSpec(int id); static void registerCipherSpec(int id, CipherSpec cipherSpec); static final int AES_128_GCM; static final int TWOFISH_128_GCM; static final int AES_256_GCM; static final int TWOFISH_256_GCM; static final int[] DEFAULT_CIPHER_SPECS; }