Class KeyAgreementNatives


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int generateSecret​(int algorithmId, int privateKeyId, int publicKeyId, byte[] secret)  
      static int getAlgorithmId​(byte[] algorithmName)  
      static int getMaxSize​(int algorithmId, int privateKeyId, int publicKeyId)  
      • Methods inherited from class java.lang.Object

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

      • getAlgorithmId

        public static int getAlgorithmId​(byte[] algorithmName)
      • getMaxSize

        public static int getMaxSize​(int algorithmId,
                                     int privateKeyId,
                                     int publicKeyId)
      • generateSecret

        public static int generateSecret​(int algorithmId,
                                         int privateKeyId,
                                         int publicKeyId,
                                         byte[] secret)