change computer
This commit is contained in:
1 parent
52a13b9cab
commit
6b3c99664c
7 files changed
+97
-11
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package asymetric
|
||||
|
||||
import (
|
||||
"github.com/didiercrunch/filou/contract"
|
||||
)
|
||||
|
||||
type PublicKeyEncryptor interface {
|
||||
Encrypt(data []byte) ([]byte, error)
|
||||
}
|
||||
|
||||
type Signer interface {
|
||||
Sign(data []byte) ([]byte, error)
|
||||
}
|
||||
|
||||
func GetSigner(contract_ contract.AcceptedContract) (Signer, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func GetPublicKeyEncryptor(contract_ contract.AcceptedContract) (Signer, error) {
|
||||
return nil, nil
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
package asymetric
|
||||
Reference in new issue
Block a user