Skip to content

Structs to Objects #5

@lucasperin

Description

@lucasperin

PKCS11 has many structures of data. We need to create simple objetcs that represent these strctures.

Info Objects are static copies, user should only be able to call functions to obtain data. Look at CryptokiInfo and CryptokiSessionInfo.

Other objects that may be initialized should follow the CryptokiSession pattern, implementing P11Init to avoid bad programming habits or human error. Think of RAII design patter for the end user when implementing.

Some objects that are missing:
CryptokiToken
CryptokiTokenInfo
CryptokiSlot
CryptokiSlotInfo
CryptokiMechanism
CryptokiMechanismInfo

Please use PKCS11 oficial documentation to describe objects, attributes and functions using doxygen.
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/pkcs-11v2-20.pdf

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