summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-11 16:58:40 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-08-11 16:58:40 +0200
commit3901573278551d824233aaa76b8137b2d60abab5 (patch)
tree3ab7b9fcdbedf67d919806985dd16baf1aa9e72d /eaaf_core_api/src/main
parent46b1b0332dfbcbec562e4c5ad7e679ba738515fc (diff)
downloadEAAF-Components-3901573278551d824233aaa76b8137b2d60abab5.tar.gz
EAAF-Components-3901573278551d824233aaa76b8137b2d60abab5.tar.bz2
EAAF-Components-3901573278551d824233aaa76b8137b2d60abab5.zip
add constants for encrypted wbPK target-identifier
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java31
1 files changed, 19 insertions, 12 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java
index 7a8bc67c..77fdf4fc 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/EaafConstants.java
@@ -43,10 +43,11 @@ public class EaafConstants {
// Austrian specific prefixes for pseudonyms of users
public static final String URN_PART_BASEID = "baseid";
public static final String URN_PART_CDID = "cdid+";
+ public static final String URN_PART_ECDID = "ecdid+";
public static final String URN_PART_WBPK = "wbpk+";
+ public static final String URN_PART_EWBPK= "ewbpk+";
public static final String URN_PART_EIDAS = "eidasid+";
- public static final String URN_PART_ECDID = "ecdid+";
-
+
public static final String URN_PREFIX = "urn:publicid:gv.at";
public static final String URN_PREFIX_WITH_COLON = URN_PREFIX + ":";
public static final String URN_PREFIX_BASEID = URN_PREFIX_WITH_COLON + URN_PART_BASEID;
@@ -54,6 +55,7 @@ public class EaafConstants {
public static final String URN_PREFIX_ECDID = URN_PREFIX_WITH_COLON + URN_PART_ECDID;
public static final String URN_PREFIX_BPK = URN_PREFIX_CDID + "bpk";
public static final String URN_PREFIX_WBPK = URN_PREFIX_WITH_COLON + URN_PART_WBPK;
+ public static final String URN_PREFIX_EWBPK = URN_PREFIX_WITH_COLON + URN_PART_EWBPK;
public static final String URN_PREFIX_EIDAS = URN_PREFIX_WITH_COLON + URN_PART_EIDAS;
public static final String URN_PREFIX_OW_BPK = URN_PREFIX_CDID + "OW";
@@ -61,25 +63,30 @@ public class EaafConstants {
* encrypted bPK target identifier pattern with {0} as bPK target without prefix and {1} as VKZ/SourceId.
*/
public static final String URN_ECDID_TARGET_PATTERN = URN_PREFIX_ECDID + "{1}+{0}";
-
+
+ /**
+ * encrypted wbPK target identifier pattern with {0} as bPK target without prefix and {1} as VKZ/SourceId.
+ */
+ public static final String URN_EWBPK_TARGET_PATTERN = URN_PREFIX_EWBPK + "{1}+{0}";
+
public static final String URN_PREFIX_WBPK_TARGET_WITH_X = EaafConstants.URN_PREFIX_WBPK + "X";
private static final String WBPK_TARGET_FN = "FN";
private static final String WBPK_TARGET_ZVR = "ZVR";
private static final String WBPK_TARGET_ERSB = "ERSB";
-
- private static final String URN_PREFIX_WBPK_TARGET_XFN_TARGET =
+
+ private static final String URN_PREFIX_WBPK_TARGET_XFN_TARGET =
EaafConstants.URN_PREFIX_WBPK_TARGET_WITH_X + WBPK_TARGET_FN;
- private static final String URN_PREFIX_WBPK_TARGET_XZVR_TARGET =
+ private static final String URN_PREFIX_WBPK_TARGET_XZVR_TARGET =
EaafConstants.URN_PREFIX_WBPK_TARGET_WITH_X + WBPK_TARGET_ZVR;
- private static final String URN_PREFIX_WBPK_TARGET_XERSB_TARGET =
+ private static final String URN_PREFIX_WBPK_TARGET_XERSB_TARGET =
EaafConstants.URN_PREFIX_WBPK_TARGET_WITH_X + WBPK_TARGET_ERSB;
-
+
private static final String URN_PREFIX_WBPK_TARGET_FN_TARGET = EaafConstants.URN_PREFIX_WBPK + WBPK_TARGET_FN;
private static final String URN_PREFIX_WBPK_TARGET_ZVR_TARGET = EaafConstants.URN_PREFIX_WBPK + WBPK_TARGET_ZVR;
private static final String URN_PREFIX_WBPK_TARGET_ERSB_TARGET = EaafConstants.URN_PREFIX_WBPK + WBPK_TARGET_ERSB;
-
+
public static final Map<String, String> URN_WBPK_TARGET_X_TO_NONE_MAPPER;
-
+
static {
final Map<String, String> intMap = new LinkedHashMap<>();
intMap.put(URN_PREFIX_WBPK_TARGET_XFN_TARGET, URN_PREFIX_WBPK_TARGET_FN_TARGET);
@@ -88,8 +95,8 @@ public class EaafConstants {
URN_WBPK_TARGET_X_TO_NONE_MAPPER = Collections.unmodifiableMap(intMap);
}
-
-
+
+
// Authentication process data_constants
public static final String UNIQUESESSIONIDENTIFIER = "eaaf_uniqueSessionIdentifier";
public static final String AUTH_DATA_CREATED = "eaaf_authdata_created";