Package convex.core.crypto
Class Providers
java.lang.Object
convex.core.crypto.Providers
Utility class for handling crypto providers for Convex.
We want to make sure crypto providers are switchable, but without the overhead of going via JCA.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AKeyPair
generate()
static AKeyPair
static void
init()
static void
setProvider
(AProvider provider) static boolean
verify
(ASignature signature, AArrayBlob message, AccountKey publicKey)
-
Constructor Details
-
Providers
public Providers()
-
-
Method Details
-
init
public static void init() -
verify
-
generate
-
setProvider
-
generate
-