diff options
| author | Miloslav Trmač <mitr@redhat.com> | 2010-11-30 21:58:21 +0100 |
|---|---|---|
| committer | Miloslav Trmač <mitr@redhat.com> | 2010-11-30 21:59:46 +0100 |
| commit | 9f8c85856ca06788c4eedb16d37f375491948a54 (patch) | |
| tree | ca7cc58d3eebf6cc4fa2c268cc7be061021951ac /include | |
| parent | bd1167732c75a89ad816af878772c0925befc449 (diff) | |
| download | ncrypto-9f8c85856ca06788c4eedb16d37f375491948a54.tar.gz ncrypto-9f8c85856ca06788c4eedb16d37f375491948a54.tar.xz ncrypto-9f8c85856ca06788c4eedb16d37f375491948a54.zip | |
Use PKCS#8 privateKeyInfo for private keys in DER form
Diffstat (limited to 'include')
| -rw-r--r-- | include/ncrypto/ncrypto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ncrypto/ncrypto.h b/include/ncrypto/ncrypto.h index 3938b45..07e57be 100644 --- a/include/ncrypto/ncrypto.h +++ b/include/ncrypto/ncrypto.h @@ -77,7 +77,8 @@ CK_RV ncr_public_key_create (struct ncr_public_key **key, const void *der, 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); -/* "Sensitive" corresponds to CKA_SENSITIVE. */ +/* The PKCS#8 privateKeyInfo structure is used for private keys. "Sensitive" + corresponds to CKA_SENSITIVE. */ CK_RV ncr_private_key_create (struct ncr_private_key **key, CK_KEY_TYPE type, _Bool sensitive, const void *der, size_t der_size, const void *public_value, |
