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 AKeyPairgenerate()static AKeyPairstatic voidinit()static voidsetProvider(AProvider provider) static booleanverify(ASignature signature, AArrayBlob message, AccountKey publicKey)
-
Constructor Details
-
Providers
public Providers()
-
-
Method Details
-
init
public static void init() -
verify
-
generate
-
setProvider
-
generate
-