class YkneoBitcoinSoft implements YkneoBitcoin {

    @Override
    public byte[] sign(byte[] hash, int... index) throws PinModeLockedException, UnusableIndexException, IOException, NoKeyLoadedException {
        DeterministicKey key = getKey(index);
        ECKey.ECDSASignature signature = key.toECKey().sign(new Sha256Hash(hash));
        return signature.encodeToDER();
    }

    public  YkneoBitcoinSoft();

}