Interface QubicCryptoLib

All Superinterfaces:
com.sun.jna.Library

public interface QubicCryptoLib extends com.sun.jna.Library
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.sun.jna.Library

    com.sun.jna.Library.Handler
  • Field Summary

    Fields inherited from interface com.sun.jna.Library

    OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    ecc_mul_fixed(byte[] privateKey, com.sun.jna.Pointer p)
     
    void
    encode(com.sun.jna.Pointer p, byte[] privateKey)
     
    void
    sign(byte[] subSeed, byte[] publicKey, byte[] messageDigest, byte[] signature)
     
    void
    signWithNonceK(byte[] nonceK, byte[] publicKey, byte[] messageDigest, byte[] signature)
     
    boolean
    verify(byte[] publicKey, byte[] messageDigest, byte[] signature)
     
  • Method Details

    • ecc_mul_fixed

      void ecc_mul_fixed(byte[] privateKey, com.sun.jna.Pointer p)
    • encode

      void encode(com.sun.jna.Pointer p, byte[] privateKey)
    • sign

      void sign(byte[] subSeed, byte[] publicKey, byte[] messageDigest, byte[] signature)
    • signWithNonceK

      void signWithNonceK(byte[] nonceK, byte[] publicKey, byte[] messageDigest, byte[] signature)
    • verify

      boolean verify(byte[] publicKey, byte[] messageDigest, byte[] signature)