aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials/builder.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-08-14 16:48:40 +0200
committerMartin Willi <martin@strongswan.org>2009-08-26 11:23:50 +0200
commit1e0f69373a4e55050eb2ebee211681326e647fae (patch)
tree8803f96cc3d5a9960ad07c66449d64ace6dcc1e6 /src/libstrongswan/credentials/builder.h
parent750bbcf9a80c2613245b47a366ed66e0abace561 (diff)
downloadstrongswan-1e0f69373a4e55050eb2ebee211681326e647fae.tar.bz2
strongswan-1e0f69373a4e55050eb2ebee211681326e647fae.tar.xz
implemented a pkcs1 plugin providing PKCS#1 key parsing builders
Diffstat (limited to 'src/libstrongswan/credentials/builder.h')
-rw-r--r--src/libstrongswan/credentials/builder.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libstrongswan/credentials/builder.h b/src/libstrongswan/credentials/builder.h
index 9c73f6e7c..17fc77680 100644
--- a/src/libstrongswan/credentials/builder.h
+++ b/src/libstrongswan/credentials/builder.h
@@ -90,6 +90,22 @@ enum builder_part_t {
BUILD_SMARTCARD_KEYID,
/** pin to access a key on a smartcard, null terminated char* */
BUILD_SMARTCARD_PIN,
+ /** modulus (n) of a RSA key, chunk_t */
+ BUILD_RSA_MODULUS,
+ /** public exponent (e) of a RSA key, chunk_t */
+ BUILD_RSA_PUB_EXP,
+ /** private exponent (d) of a RSA key, chunk_t */
+ BUILD_RSA_PRIV_EXP,
+ /** prime 1 (p) of a RSA key, chunk_t */
+ BUILD_RSA_PRIME1,
+ /** prime 2 (q) of a RSA key, chunk_t */
+ BUILD_RSA_PRIME2,
+ /** exponent 1 (exp1) of a RSA key, chunk_t */
+ BUILD_RSA_EXP1,
+ /** exponent 2 (exp1) of a RSA key, chunk_t */
+ BUILD_RSA_EXP2,
+ /** coefficient (coeff) of a RSA key, chunk_t */
+ BUILD_RSA_COEFF,
/** end of variable argument builder list */
BUILD_END,
};