Skip to content

Signing a message using a private key generated inside of a keystore #5

@bogacyigitbasi

Description

@bogacyigitbasi

Hey, I want to sign an arbitrary message using the PKCS library. But I don't want to generate keys on my system, instead, I am trying to use C_SignInit which in theory should sign the message I pass and return the signature back. But I cant find my private keys after a successful connection. Here is my code, if you could take a look at it and tell me whats wrong that would be great. And I can create a PR to add that to the sample of the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions