summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2020-05-04 11:19:00 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2020-05-04 11:19:00 +0200
commit6be05460cfde0a3b8e616a5aacdee7703105b59c (patch)
tree8f7443f46b5bb401f958cd49d0a72df434bb480b /eaaf_core_api/src/main
parent31c37b8c161de3a71795c5894ee049983594bc1e (diff)
downloadEAAF-Components-6be05460cfde0a3b8e616a5aacdee7703105b59c.tar.gz
EAAF-Components-6be05460cfde0a3b8e616a5aacdee7703105b59c.tar.bz2
EAAF-Components-6be05460cfde0a3b8e616a5aacdee7703105b59c.zip
add Pattern for encryped bPK target identifier and add new method into BpkBuilder
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.java9
1 files changed, 8 insertions, 1 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 57375e01..7a8bc67c 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
@@ -45,16 +45,23 @@ public class EaafConstants {
public static final String URN_PART_CDID = "cdid+";
public static final String URN_PART_WBPK = "wbpk+";
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;
public static final String URN_PREFIX_CDID = URN_PREFIX_WITH_COLON + URN_PART_CDID;
+ 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_EIDAS = URN_PREFIX_WITH_COLON + URN_PART_EIDAS;
public static final String URN_PREFIX_OW_BPK = URN_PREFIX_CDID + "OW";
+ /**
+ * 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}";
+
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";