summaryrefslogtreecommitdiffstats
path: root/include/ncrypto
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-11-25 18:07:25 +0100
committerMiloslav Trmač <mitr@redhat.com>2010-11-25 18:07:25 +0100
commit012b4861d820dfd954dcd3563b6366812a30205f (patch)
tree9919ddd6b62f25c914fd0c8493042923d181250a /include/ncrypto
parent3712df97eb0a1149823c6f0c6aace2ecfdb53f1b (diff)
downloadncrypto-012b4861d820dfd954dcd3563b6366812a30205f.tar.gz
ncrypto-012b4861d820dfd954dcd3563b6366812a30205f.tar.xz
ncrypto-012b4861d820dfd954dcd3563b6366812a30205f.zip
Add ncr_public_key_export
Diffstat (limited to 'include/ncrypto')
-rw-r--r--include/ncrypto/ncrypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h
index a09d451..c4de81e 100644
--- a/include/ncrypto/ncrypto.h
+++ b/include/ncrypto/ncrypto.h
@@ -73,6 +73,8 @@ struct ncr_private_key;
CK_RV ncr_public_key_create (struct ncr_public_key **key, CK_KEY_TYPE type,
const void *der, size_t der_size);
+CK_RV ncr_public_key_export (struct ncr_public_key *key, void *dest,
+ size_t *dest_size_ptr);
CK_RV ncr_public_key_destroy (struct ncr_public_key *key);
CK_RV ncr_private_key_create (struct ncr_private_key **key, CK_KEY_TYPE type,
const void *der, size_t der_size,