Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions common/src/main/java/com/genexus/CommonUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public final class CommonUtil
static TimeZone originalTimeZone;
public static IThreadLocal threadCalendar;

public static String SECURITY_HASH_ALGORITHM = "SHA-256";
public static final String [][] ENCODING_JAVA_IANA;
private static Random random;
private static Date nullDate;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.genexus.common.interfaces;

import json.org.json.JSONArray;

public interface IGXWebGrid {
Object GetJSONObject();
JSONArray GetValues();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.genexus.common.interfaces;

public interface IGXWebRow {
IGXWebGrid getParentGrid();
void AddHidden(String name, Object value);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.genexus.common.interfaces;

public interface IGXWindow {
Object GetJSONObject();
void setUrl(String url);
void setReturnParms(Object[] retParms);
String getUrl();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.genexus.common.interfaces;

public interface IGxEjbContext {
String getUserId();
void setRollback();
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.genexus.cryptography;

import com.genexus.cryptography.GXSigning.PKCSStandard;
import com.genexus.CommonUtil;
import com.genexus.cryptography.Utils.PKCSStandard;

public class Constants {
public static final String UNICODE = "UTF-8";
Expand All @@ -12,7 +13,7 @@ public class Constants {

/* HASHING CONSTANTS */
public static String DEFAULT_HASH_ALGORITHM = "SHA-256";
public static String SECURITY_HASH_ALGORITHM = "SHA-256";
public static String SECURITY_HASH_ALGORITHM = CommonUtil.SECURITY_HASH_ALGORITHM;


/* SIGN Constants */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,9 @@ public static String toHexString(byte[] byteData){
return sb.toString();
}

public enum PKCSStandard {
PKCS1, PKCS7
};


}
34 changes: 0 additions & 34 deletions gxandroidpublisher/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading