Class NativeKeyGeneratorSpi
- java.lang.Object
-
- com.microej.crypto.internal.provider.NativeKeyGeneratorSpi
-
public class NativeKeyGeneratorSpi extends java.lang.ObjectMock implementation of the KeyGenerator.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intnativeGenerateKey(int algorithmId, int keyBits)static intnativeGetAlgorithmId(byte[] algorithmBytes)static booleannativeIsKeySizeSupported(int algorithmId, int keyBits)
-
-
-
Method Detail
-
nativeGetAlgorithmId
public static int nativeGetAlgorithmId(byte[] algorithmBytes)
-
nativeIsKeySizeSupported
public static boolean nativeIsKeySizeSupported(int algorithmId, int keyBits)
-
nativeGenerateKey
public static int nativeGenerateKey(int algorithmId, int keyBits) throws ej.sni.NativeException- Throws:
ej.sni.NativeException
-
-