summaryrefslogtreecommitdiff
path: root/eaaf_core_api/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'eaaf_core_api/src/main/java')
-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";
+
+
}