diff options
author | Martin Willi <martin@revosec.ch> | 2010-07-15 12:23:50 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2010-08-04 09:26:20 +0200 |
commit | 3479c2793116b18407e2e041e5bee454a8f9005d (patch) | |
tree | 7fd0578f95f318aabac1f013fad30dddcd45ae6f /src/libstrongswan/credentials/builder.h | |
parent | 36c852a08be2b4373bd62d7cfb1862d28e818505 (diff) | |
download | strongswan-3479c2793116b18407e2e041e5bee454a8f9005d.tar.bz2 strongswan-3479c2793116b18407e2e041e5bee454a8f9005d.tar.xz |
Support module names in %smartcard specifier, streamlined smartcard building
Diffstat (limited to 'src/libstrongswan/credentials/builder.h')
-rw-r--r-- | src/libstrongswan/credentials/builder.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/libstrongswan/credentials/builder.h b/src/libstrongswan/credentials/builder.h index ffb09f72a..d13ada0aa 100644 --- a/src/libstrongswan/credentials/builder.h +++ b/src/libstrongswan/credentials/builder.h @@ -103,10 +103,14 @@ enum builder_part_t { BUILD_X509_FLAG, /** enumerator_t over (chunk_t serial, time_t date, crl_reason_t reason) */ BUILD_REVOKED_ENUMERATOR, - /** key ID of a key on a smartcard, null terminated char* ([slot:]keyid) */ - BUILD_SMARTCARD_KEYID, - /** pin to access a key on a smartcard, null terminated char* */ - BUILD_SMARTCARD_PIN, + /** friendly name of a PKCS#11 module, null terminated char* */ + BUILD_PKCS11_MODULE, + /** slot specifier for a token in a PKCS#11 module, int */ + BUILD_PKCS11_SLOT, + /** key ID of a key on a token, null terminated char* */ + BUILD_PKCS11_KEYID, + /** pin to access a token, null terminated char* */ + BUILD_PKCS11_PIN, /** modulus (n) of a RSA key, chunk_t */ BUILD_RSA_MODULUS, /** public exponent (e) of a RSA key, chunk_t */ |