Class NativeSecretKey


  • public class NativeSecretKey
    extends java.lang.Object
    Mock implementation of the LLAPI: LLSEC_SECRET_KEY
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int nativeCreate​(byte[] rawKey, int rawKeyLength, byte[] algorithm)  
      static int nativeGetCloseId()  
      static int nativeGetEncoded​(int nativeId, byte[] output, int outputLength)  
      static int nativeGetEncodedMaxSize​(int nativeId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • nativeGetEncodedMaxSize

        public static int nativeGetEncodedMaxSize​(int nativeId)
      • nativeGetEncoded

        public static int nativeGetEncoded​(int nativeId,
                                           byte[] output,
                                           int outputLength)
      • nativeCreate

        public static int nativeCreate​(byte[] rawKey,
                                       int rawKeyLength,
                                       byte[] algorithm)
      • nativeGetCloseId

        public static int nativeGetCloseId()