Class NativeKeyGeneratorSpi


  • public class NativeKeyGeneratorSpi
    extends java.lang.Object
    Mock implementation of the KeyGenerator.
    • 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