@@ -6,17 +6,17 @@ public protocol SigningWitness {
// / A r i d i c u l o u s l y n a m e d m e t h o d t h a t n o t i f i e s t h e c a l l e e t h a t a s i g n i n g o p e r a t i o n i s a b o u t t o b e p e r f o r m e d u s i n g a s e c r e t . T h e c a l l e e m a y ` t h r o w ` a n ` E r r o r ` t o p r e v e n t a c c e s s f r o m o c c u r r i n g .
// / A r i d i c u l o u s l y n a m e d m e t h o d t h a t n o t i f i e s t h e c a l l e e t h a t a s i g n i n g o p e r a t i o n i s a b o u t t o b e p e r f o r m e d u s i n g a s e c r e t . T h e c a l l e e m a y ` t h r o w ` a n ` E r r o r ` t o p r e v e n t a c c e s s f r o m o c c u r r i n g .
// / - P a r a m e t e r s :
// / - P a r a m e t e r s :
// / - s e c r e t : T h e ` ` Se c r e t K i t . S e c r e t ` ` t h a t w i l l b e u s e d t o s i g n t h e r e q u e s t .
// / - s e c r e t : T h e ` S e c r e t ` t h a t w i l l b e u s e d t o s i g n t h e r e q u e s t .
// / - s t o r e : T h e ` ` S e c r e t K i t . St o r e ` ` b e i n g a s k e d t o s i g n t h e r e q u e s t . .
// / - s t o r e : T h e ` S t o r e ` b e i n g a s k e d t o s i g n t h e r e q u e s t . .
// / - p r o v e n a n c e : A ` ` S e c r e t K i t . Si g n i n g R e q u e s t P r o v e n a n c e ` ` o b j e c t d e s c r i b i n g t h e o r i g i n o f t h e r e q u e s t .
// / - p r o v e n a n c e : A ` S i g n i n g R e q u e s t P r o v e n a n c e ` o b j e c t d e s c r i b i n g t h e o r i g i n o f t h e r e q u e s t .
// / - N o t e : T h i s m e t h o d b e i n g c a l l e d d o e s n o t i m p l y t h a t t h e r e q u s t h a s b e e n a u t h o r i z e d . I f a s e c r e t r e q u i r e s a u t h e n t i c a t i o n , a u t h e n t i c a t i o n w i l l s t i l l n e e d t o b e p e r f o r m e d b y t h e u s e r b e f o r e t h e r e q u e s t w i l l b e p e r f o r m e d . I f t h e u s e r d e c l i n e s o r f a i l s t o a u t h e n t i c a t e , t h e r e q u e s t w i l l f a i l .
// / - N o t e : T h i s m e t h o d b e i n g c a l l e d d o e s n o t i m p l y t h a t t h e r e q u s t h a s b e e n a u t h o r i z e d . I f a s e c r e t r e q u i r e s a u t h e n t i c a t i o n , a u t h e n t i c a t i o n w i l l s t i l l n e e d t o b e p e r f o r m e d b y t h e u s e r b e f o r e t h e r e q u e s t w i l l b e p e r f o r m e d . I f t h e u s e r d e c l i n e s o r f a i l s t o a u t h e n t i c a t e , t h e r e q u e s t w i l l f a i l .
func speakNowOrForeverHoldYourPeace ( forAccessTo secret : AnySecret , from store : AnySecretStore , by provenance : SigningRequestProvenance ) throws
func speakNowOrForeverHoldYourPeace ( forAccessTo secret : AnySecret , from store : AnySecretStore , by provenance : SigningRequestProvenance ) throws
// / N o t i f i e s t h e c a l l e e t h a t a s i g n i n g o p e r a t i o n h a s b e e n p e r f o r m e d f o r a g i v e n s e c r e t .
// / N o t i f i e s t h e c a l l e e t h a t a s i g n i n g o p e r a t i o n h a s b e e n p e r f o r m e d f o r a g i v e n s e c r e t .
// / - P a r a m e t e r s :
// / - P a r a m e t e r s :
// / - s e c r e t : T h e ` ` Se c r e t K i t . S e c r e t ` ` t h a t w i l l w a s u s e d t o s i g n t h e r e q u e s t .
// / - s e c r e t : T h e ` S e c r e t ` t h a t w i l l w a s u s e d t o s i g n t h e r e q u e s t .
// / - s t o r e : T h e ` ` S e c r e t K i t . St o r e ` ` t h a t s i g n e d t h e r e q u e s t . .
// / - s t o r e : T h e ` S t o r e ` t h a t s i g n e d t h e r e q u e s t . .
// / - p r o v e n a n c e : A ` ` S e c r e t K i t . Si g n i n g R e q u e s t P r o v e n a n c e ` ` o b j e c t d e s c r i b i n g t h e o r i g i n o f t h e r e q u e s t .
// / - p r o v e n a n c e : A ` S i g n i n g R e q u e s t P r o v e n a n c e ` o b j e c t d e s c r i b i n g t h e o r i g i n o f t h e r e q u e s t .
// / - r e q u i r e d A u t h e n t i c a t i o n : A b o o l e a n d e s c r i b i n g w h e t h e r o r n o t a u t h e n t i c a t i o n w a s r e q u i r e d f o r t h e r e q u e s t .
// / - r e q u i r e d A u t h e n t i c a t i o n : A b o o l e a n d e s c r i b i n g w h e t h e r o r n o t a u t h e n t i c a t i o n w a s r e q u i r e d f o r t h e r e q u e s t .
func witness ( accessTo secret : AnySecret , from store : AnySecretStore , by provenance : SigningRequestProvenance , requiredAuthentication : Bool ) throws
func witness ( accessTo secret : AnySecret , from store : AnySecretStore , by provenance : SigningRequestProvenance , requiredAuthentication : Bool ) throws