-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Milestone
Description
- Add API to retrieve
PublicKeyfromPrivateKey. (ECDSA)
Right now it's impossible to import PublicKey from PrivateKey and nobody keep PublicKey if you already have Private, internally you already do this, but this API is not exposed.
- Add None CryptographyAlgorithmId in case if data for digital signature has already hashed, so
For java it will be likeNoneWithECDSA.
For Apple you can usekSecKeyAlgorithmECDSASignatureDigestX962.
For OpenSSL it's NULL parameter inEVP_PKEY_sign_init
For Web, this is the problem, web doesn't allow to send already hashed bytes,noblecan, but not sure if you want to use it
private object None : CryptographyAlgorithmId<Digest>("NONE")
OR
public fun signatureGenerator(
digest: CryptographyAlgorithmId<Digest>?,
format: SignatureFormat,
): SignatureGenerator

Metadata
Metadata
Assignees
Labels
No labels
