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
7d0fa81d
Commit
7d0fa81d
authored
Jun 04, 2017
by
Sietse Ringers
Browse files
Rename stuff
parent
68fd4425
Changes
3
Hide whitespace changes
Inline
Side-by-side
cre
denti
al
s.go
→
i
denti
fier
s.go
View file @
7d0fa81d
...
...
@@ -5,7 +5,7 @@ import "strings"
// Base object for identifiers
type
objectIdentifier
struct
{
string
`json:"identifier"`
P
arts
[]
string
p
arts
[]
string
}
// IssuerIdentifier identifies an issuer.
...
...
@@ -47,11 +47,11 @@ func NewAttributeTypeIdentifier(identifier string) *AttributeTypeIdentifier {
}
func
(
o
*
objectIdentifier
)
split
()
[]
string
{
if
o
.
P
arts
==
nil
{
o
.
P
arts
=
strings
.
Split
(
o
.
string
,
"."
)
if
o
.
p
arts
==
nil
{
o
.
p
arts
=
strings
.
Split
(
o
.
string
,
"."
)
}
return
o
.
P
arts
return
o
.
p
arts
}
// SchemeManagerName returns the name of the scheme maanger of the current credential type.
...
...
descriptions
_test.go
→
irmago
_test.go
View file @
7d0fa81d
File moved
store.go
View file @
7d0fa81d
...
...
@@ -18,7 +18,8 @@ var MetaStore = ConfigurationStore{
make
(
map
[
string
]
*
gabi
.
PublicKey
),
}
// ConfigurationStore ...
// ConfigurationStore keeps track of scheme managers, issuers, credential types and public keys.
// Use the global MetaStore instance.
type
ConfigurationStore
struct
{
managers
map
[
string
]
*
SchemeManagerDescription
issuers
map
[
string
]
*
IssuerDescription
...
...
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