Commit 99d85920 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Rename KeyshareRegistrationIncomplete -> KeyshareEnrollmentIncomplete

parent 6c565cad
...@@ -96,6 +96,6 @@ func (sh *ManualSessionHandler) Failure(irmaAction irma.Action, err *irma.Sessio ...@@ -96,6 +96,6 @@ func (sh *ManualSessionHandler) Failure(irmaAction irma.Action, err *irma.Sessio
func (sh *ManualSessionHandler) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) { func (sh *ManualSessionHandler) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) {
sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareBlocked")}) sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareBlocked")})
} }
func (sh *ManualSessionHandler) KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) { func (sh *ManualSessionHandler) KeyshareEnrollmentIncomplete(manager irma.SchemeManagerIdentifier) {
sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareRegistrationIncomplete")}) sh.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareEnrollmentIncomplete")})
} }
...@@ -34,7 +34,7 @@ type Handler interface { ...@@ -34,7 +34,7 @@ type Handler interface {
MissingKeyshareEnrollment(manager irma.SchemeManagerIdentifier) MissingKeyshareEnrollment(manager irma.SchemeManagerIdentifier)
KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int)
KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) KeyshareEnrollmentIncomplete(manager irma.SchemeManagerIdentifier)
RequestIssuancePermission(request irma.IssuanceRequest, ServerName string, callback PermissionHandler) RequestIssuancePermission(request irma.IssuanceRequest, ServerName string, callback PermissionHandler)
RequestVerificationPermission(request irma.DisclosureRequest, ServerName string, callback PermissionHandler) RequestVerificationPermission(request irma.DisclosureRequest, ServerName string, callback PermissionHandler)
...@@ -410,7 +410,7 @@ func (session *session) KeyshareCancelled() { ...@@ -410,7 +410,7 @@ func (session *session) KeyshareCancelled() {
} }
func (session *session) KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) { func (session *session) KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) {
session.Handler.KeyshareRegistrationIncomplete(manager) session.Handler.KeyshareEnrollmentIncomplete(manager)
} }
func (session *session) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) { func (session *session) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) {
......
...@@ -20,8 +20,8 @@ type TestHandler struct { ...@@ -20,8 +20,8 @@ type TestHandler struct {
client *Client client *Client
} }
func (th TestHandler) KeyshareRegistrationIncomplete(manager irma.SchemeManagerIdentifier) { func (th TestHandler) KeyshareEnrollmentIncomplete(manager irma.SchemeManagerIdentifier) {
th.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareRegistrationIncomplete")}) th.Failure(irma.ActionUnknown, &irma.SessionError{Err: errors.New("KeyshareEnrollmentIncomplete")})
} }
func (th TestHandler) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) { func (th TestHandler) KeyshareBlocked(manager irma.SchemeManagerIdentifier, duration int) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment