From a5382579a9ee09f18add165168e59b1c1568c404 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 2 Sep 2021 17:53:37 +0200 Subject: define new PVP attribute for ID Austria level (basic / full) --- .../core/api/data/PvpAttributeDefinitions.java | 31 +++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'eaaf_core_api/src/main/java/at') 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"; + + } -- cgit v1.2.3