parallaxsecond / rust-cryptoki

Rust wrapper for the PKCS #11 API, Cryptoki
https://docs.rs/cryptoki/
Apache License 2.0
75 stars 61 forks source link

Implement Session.copy_object() #215

Closed keldonin closed 2 months ago

keldonin commented 2 months ago

This PR implements C_CopyObject(). It takes a template as an optional argument (i.e. Option<&[Attribute]>).

The PR comes along with rustdoc and dedicated test case.

keldonin commented 2 months ago

The CI script fails for the reason described in #216, can this be looked at? I guess it will block all PRs going forward.

Thank you!