Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CK_EFFECTIVELY_INFINITE and CK_UNAVAILABLE_INFORMATION #115

Merged
merged 2 commits into from
Apr 29, 2019

Conversation

dmjones
Copy link
Contributor

@dmjones dmjones commented Apr 25, 2019

Adds two constants, which are useful when looking at token capabilities.

I think ^uint(0) is as close as we can get to (~0UL), but comments welcome!

@miekg
Copy link
Owner

miekg commented Apr 29, 2019

We do these come from? From the standard? Can you link to that with a comment in the code? Thanks.

@dmjones
Copy link
Contributor Author

dmjones commented Apr 29, 2019

Defined in section 3.2 of the v2.40 spec. You already have these values elsewhere in the project, see https://github.com/miekg/pkcs11/blob/master/pkcs11t.h#L59.

I've pushed a commit with comments explaining.

@miekg miekg merged commit a667d05 into miekg:master Apr 29, 2019
jls5177 pushed a commit to jls5177/pkcs11 that referenced this pull request Jun 19, 2019
* Add CK_EFFECTIVELY_INF... and CK_UNAVAILABLE_IN...

* Add comments to explain new constants
thaJeztah added a commit to thaJeztah/cli that referenced this pull request Jan 16, 2020
full diff: miekg/pkcs11@v1.0.2...v1.0.3

- miekg/pkcs11#100 Add typed convenience `Find...` methods to `Session`
- miekg/pkcs11#115 Add CK_EFFECTIVELY_INFINITE and CK_UNAVAILABLE_INFORMATION

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this pull request Jan 17, 2020
full diff: miekg/pkcs11@v1.0.2...v1.0.3

- miekg/pkcs11#100 Add typed convenience `Find...` methods to `Session`
- miekg/pkcs11#115 Add CK_EFFECTIVELY_INFINITE and CK_UNAVAILABLE_INFORMATION

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: b53ffd6c1fc50442aeb4e4195d7b312ac8804187
Component: cli
eiffel-fl pushed a commit to eiffel-fl/cli that referenced this pull request Jul 28, 2020
full diff: miekg/pkcs11@v1.0.2...v1.0.3

- miekg/pkcs11#100 Add typed convenience `Find...` methods to `Session`
- miekg/pkcs11#115 Add CK_EFFECTIVELY_INFINITE and CK_UNAVAILABLE_INFORMATION

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants