summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main
diff options
context:
space:
mode:
authorThomas <>2021-09-02 17:53:37 +0200
committerThomas <>2021-09-02 17:53:37 +0200
commita5382579a9ee09f18add165168e59b1c1568c404 (patch)
treea0f7bb57e8aad002913852458a1abc2301e97250 /eaaf_core_api/src/main
parent8808768eab82d4191da3356e38febb6f6703ebb5 (diff)
downloadEAAF-Components-a5382579a9ee09f18add165168e59b1c1568c404.tar.gz
EAAF-Components-a5382579a9ee09f18add165168e59b1c1568c404.tar.bz2
EAAF-Components-a5382579a9ee09f18add165168e59b1c1568c404.zip
define new PVP attribute for ID Austria level (basic / full)
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r--eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/PvpAttributeDefinitions.java31
1 files changed, 30 insertions, 1 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/PvpAttributeDefinitions.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/PvpAttributeDefinitions.java
index 890f5ccc..de227ccb 100644
--- a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/PvpAttributeDefinitions.java
+++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/api/data/PvpAttributeDefinitions.java
@@ -147,13 +147,40 @@ public interface PvpAttributeDefinitions {
/**
* Get the URI based status identifier of an E-ID.
*
- * @return
+ * @return status identifier
*/
public String getUri() {
return this.uri;
}
}
+
+ String EID_IDA_LEVEL_OID = "1.2.40.0.10.2.1.1.261.107";
+ String EID_IDA_LEVEL_NAME = URN_OID_PREFIX + EID_IDA_LEVEL_OID;
+ String EID_IDA_LEVEL_FRIENDLY_NAME = "EID-IDA-LEVEL";
+
+ enum EidIdaLevelValues {
+ BASIC("urn:eidgvat:eid.status.basic"),
+ FULL("urn:eidgvat:eid.status.full"),
+ EIDAS("urn:eidgvat:eid.status.eidas");
+
+ private final String urn;
+
+ EidIdaLevelValues(final String urn) {
+ this.urn = urn;
+ }
+
+ /**
+ * Get the URN based identifier of the ID Austria level.
+ *
+ * @return level identifier
+ */
+ public String getUrn() {
+ return this.urn;
+ }
+ }
+
+
String EID_ISSUING_NATION_OID = "1.2.40.0.10.2.1.1.261.32";
String EID_ISSUING_NATION_NAME = URN_OID_PREFIX + EID_ISSUING_NATION_OID;
String EID_ISSUING_NATION_FRIENDLY_NAME = "EID-ISSUING-NATION";
@@ -340,4 +367,6 @@ public interface PvpAttributeDefinitions {
String PVP_HOLDEROFKEY_NAME = URN_OID_PREFIX + PVP_HOLDEROFKEY_OID;
String PVP_HOLDEROFKEY_FRIENDLY_NAME = "HOLDER-OF-KEY-CERTIFICATE";
+
+
}