Searched refs:gcmSpecClass (Results 1 – 5 of 5) sorted by relevance
14 static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in GcmSpecUtil18 return gcmSpecClass != null; in gcmSpecExists()23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()28 return gcmSpecClass == paramSpecClass; in isGcmSpec()37 … Constructor constructor = gcmSpecClass.getConstructor(new Class[]{Integer.TYPE, byte[].class}); in extractGcmSpec()56 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in extractGcmParameters()57 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in extractGcmParameters()
64 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in AES
679 Class<?> gcmSpecClass; in fromGCMParameterSpec() local681 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameterSpec()683 gcmSpecClass = null; in fromGCMParameterSpec()686 if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) { in fromGCMParameterSpec()691 Method getTLenMethod = gcmSpecClass.getMethod("getTLen"); in fromGCMParameterSpec()692 Method getIVMethod = gcmSpecClass.getMethod("getIV"); in fromGCMParameterSpec()714 Class<?> gcmSpecClass; in fromGCMParameters() local716 gcmSpecClass = Class.forName("javax.crypto.spec.GCMParameterSpec"); in fromGCMParameters()718 gcmSpecClass = null; in fromGCMParameters()721 if (gcmSpecClass != null) { in fromGCMParameters()[all …]
36 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in BaseMac215 else if (gcmSpecClass != null && gcmSpecClass.isAssignableFrom(params.getClass())) in engineInit()219 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit()220 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in engineInit()
85 private static final Class gcmSpecClass = lookup("javax.crypto.spec.GCMParameterSpec"); field in BaseBlockCipher95 gcmSpecClass,832 else if (gcmSpecClass != null && gcmSpecClass.isInstance(params)) in engineInit()841 Method tLen = gcmSpecClass.getDeclaredMethod("getTLen", new Class[0]); in engineInit()842 Method iv= gcmSpecClass.getDeclaredMethod("getIV", new Class[0]); in engineInit()