2022-04-05 11:13:34 +00:00
|
|
|
package neofsecdsa
|
|
|
|
|
|
|
|
import neofscrypto "github.com/nspcc-dev/neofs-sdk-go/crypto"
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_SHA512, func() neofscrypto.PublicKey {
|
|
|
|
return new(PublicKey)
|
|
|
|
})
|
|
|
|
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_DETERMINISTIC_SHA256, func() neofscrypto.PublicKey {
|
2022-04-19 08:11:29 +00:00
|
|
|
return new(PublicKeyRFC6979)
|
2022-04-05 11:13:34 +00:00
|
|
|
})
|
2022-03-10 12:25:14 +00:00
|
|
|
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_WALLETCONNECT, func() neofscrypto.PublicKey {
|
|
|
|
return new(PublicKeyWalletConnect)
|
|
|
|
})
|
2022-04-05 11:13:34 +00:00
|
|
|
}
|