Hi eskimo,
I am mentioning my query in details.
Suppose,
Algorithm used for Key Generation: EC with secp256r1 (curve)
Private Key (Base64 Encoded): MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCChpu/0UpxLGB9S7J/vbNaThjp4jCYtAToRNq87Im4+rA==
and Public key (Base64 Encoded):
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEuV2qegvFLPlyI4JIZdfdMx3MIenSKfTr1X53vOoou1ZE3KZPCgveHDS5zJBq9ofaMl+5Bz3uJhgA7bIZpKqQxg==
Data for signing: "{"my-name":"example-name","email-id":"sample-@email-id","mobile-number":1111111110,"my-designation-type":"emp","my-company-name":"ABC"}"
Algorithm to use for Signing: SHA256withECDSA
**Can you please provide complete code in swift to sign the above data (as mentioned in Data for Signing) using above mentioned algorithm?
**
I searched a lot, but nothing helped. Thanks again...
Topic:
Privacy & Security
SubTopic:
General
Tags: