Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
90fc81d2
Commit
90fc81d2
authored
Oct 02, 2017
by
Sietse Ringers
Browse files
Translating irma-demo xml files
parent
2bb5e341
Changes
7
Hide whitespace changes
Inline
Side-by-side
irmago_test.go
View file @
90fc81d2
...
...
@@ -144,7 +144,7 @@ func verifyStoreIsLoaded(t *testing.T, store *ConfigurationStore, android bool)
store
.
SchemeManagers
[
NewSchemeManagerIdentifier
(
"irma-demo"
)]
.
Name
[
"en"
],
"irma-demo scheme manager has unexpected name"
)
require
.
Equal
(
t
,
"Radboud Universit
eit
Nijmegen"
,
"Radboud Universit
y
Nijmegen"
,
store
.
Issuers
[
NewIssuerIdentifier
(
"irma-demo.RU"
)]
.
Name
[
"en"
],
"irma-demo.RU issuer has unexpected name"
)
require
.
Equal
(
t
,
...
...
testdata/irma_configuration/irma-demo/MijnOverheid/Issues/root/description.xml
View file @
90fc81d2
<IssueSpecification
version=
"4"
>
<Name>
<en>
Root
</en>
<nl></nl>
<nl>
Root
</nl>
</Name>
<ShortName>
<en>
Root
</en>
<nl></nl>
<nl>
Root
</nl>
</ShortName>
<SchemeManager>
irma-demo
</SchemeManager>
<IssuerID>
MijnOverheid
</IssuerID>
<CredentialID>
root
</CredentialID>
<Description>
<en>
Root credential issued by MijnOverheid.nl
.
</en>
<nl></nl>
<en>
Root credential issued by MijnOverheid.nl
</en>
<nl>
Root-credential uitgegeven door MijnOverheid.nl
</nl>
</Description>
<ShouldBeSingleton>
true
</ShouldBeSingleton>
<Attributes>
<Attribute
id=
"BSN"
>
<Name>
<en>
BSN
</en>
<nl></nl>
<nl>
BSN
</nl>
</Name>
<Description>
<en>
Your BSN-number
</en>
<nl></nl>
<nl>
Uw BSN-nummer
</nl>
</Description>
</Attribute>
</Attributes>
</IssueSpecification>
testdata/irma_configuration/irma-demo/MijnOverheid/description.xml
View file @
90fc81d2
...
...
@@ -2,8 +2,12 @@
<ID>
MijnOverheid
</ID>
<Name>
<en>
MijnOverheid.nl
</en>
<nl></nl>
<nl>
MijnOverheid.nl
</nl>
</Name>
<ShortName>
<en>
MijnOverheid.nl
</en>
<nl>
MijnOverheid.nl
</nl>
</ShortName>
<SchemeManager>
irma-demo
</SchemeManager>
<ContactAddress>
Ministerie van BZK
Turfmarkt 147
...
...
testdata/irma_configuration/irma-demo/RU/Issues/studentCard/description.xml
View file @
90fc81d2
<IssueSpecification
version=
"4"
>
<Name>
<en>
Student Card
</en>
<nl></nl>
<nl>
Studentenkaart
</nl>
</Name>
<ShortName>
<en>
Student Card
</en>
<nl></nl>
<nl>
Studentenkaart
</nl>
</ShortName>
<SchemeManager>
irma-demo
</SchemeManager>
<IssuerID>
RU
</IssuerID>
<CredentialID>
studentCard
</CredentialID>
<Description>
<en>
Student Card issued by the Radboud University Nijmegen
.
</en>
<nl></nl>
<en>
Student Card issued by the Radboud University Nijmegen
</en>
<nl>
Studentenkaart uitgegeven door de Radboud Universiteit Nijmegen
</nl>
</Description>
<ShouldBeSingleton>
true
</ShouldBeSingleton>
...
...
@@ -21,42 +21,42 @@
<Attributes>
<Attribute
id=
"university"
>
<Name>
<en>
u
niversity
</en>
<nl></nl>
<en>
U
niversity
</en>
<nl>
Universiteit
</nl>
</Name>
<Description>
<en>
The name of the university
</en>
<nl></nl>
<nl>
Naam van de universiteit
</nl>
</Description>
</Attribute>
<Attribute
id=
"studentCardNumber"
>
<Name>
<en>
s
tudent
C
ard
N
umber
</en>
<nl></nl>
<en>
S
tudent
c
ard
n
umber
</en>
<nl>
Studentenkaartnummer
</nl>
</Name>
<Description>
<en>
The unique number of your student card
</en>
<nl></nl>
<nl>
Het unieke nummer op uw studentenkaart
</nl>
</Description>
</Attribute>
<Attribute
id=
"studentID"
>
<Name>
<en>
s
tudent
ID
</en>
<nl></nl>
<en>
S
tudent
number
</en>
<nl>
Studentnummer
</nl>
</Name>
<Description>
<en>
Your student number
</en>
<nl></nl>
<nl>
Uw studentnummer
</nl>
</Description>
</Attribute>
<Attribute
id=
"level"
>
<Name>
<en>
level
</en>
<nl></nl>
<en>
Type
</en>
<nl>
Soort
</nl>
</Name>
<Description>
<en>
Whether you are a regular or PhD student
</en>
<nl></nl>
<nl>
Of u een gewone of PhD student bent
</nl>
</Description>
</Attribute>
...
...
testdata/irma_configuration/irma-demo/RU/Issues/studentCard/issuingDescription.txt
deleted
100644 → 0
View file @
2bb5e341
% This is a description about the credentials Radboud University can issue.
% VERIFY
* [userID] @ Surfnet/root : used to look up the student in the database
% ISSUE
* university:
* studentCardNumber:
* studentID:
* level:
\ No newline at end of file
testdata/irma_configuration/irma-demo/RU/description.xml
View file @
90fc81d2
<Issuer
version=
"4"
>
<ID>
RU
</ID>
<Name>
<en>
Radboud Universit
eit
Nijmegen
</en>
<nl></nl>
<en>
Radboud Universit
y
Nijmegen
</en>
<nl>
Radboud Universiteit Nijmegen
</nl>
</Name>
<ShortName>
<en>
Radboud University
</en>
<nl>
Radboud Universiteit
</nl>
</ShortName>
<SchemeManager>
irma-demo
</SchemeManager>
<ContactAddress>
Comeniuslaan 4
6525 HP Nijmegen
</ContactAddress>
...
...
testdata/irma_configuration/irma-demo/description.xml
View file @
90fc81d2
...
...
@@ -3,11 +3,11 @@
<Url>
https://credentials.github.io/irma_configuration/irma-demo
</Url>
<Name>
<en>
Irma Demo
</en>
<nl></nl>
<nl>
Irma Demo
</nl>
</Name>
<Description>
<en>
Demo credentials within the IRMA domain
</en>
<nl></nl>
<nl>
Demo IRMA-credentials
</nl>
</Description>
<Contact>
https://www.irmacard.org
phone@demo.irmacard.org
</Contact>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment