aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/credentials
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-01-18 22:25:47 +0100
committerTobias Brunner <tobias@strongswan.org>2012-02-01 18:27:45 +0100
commitb20c54ff3f2845cc8db87f7640dfc33ea3b1f720 (patch)
tree8af8dd9d79d926b6554abc70ba3f133556098be0 /src/libstrongswan/credentials
parent25c6d26c1d7be031effde4f65bc3ab3ffc45d2cd (diff)
downloadstrongswan-b20c54ff3f2845cc8db87f7640dfc33ea3b1f720.tar.bz2
strongswan-b20c54ff3f2845cc8db87f7640dfc33ea3b1f720.tar.xz
Add builder part for parameters from algorithmIdentifier.
Diffstat (limited to 'src/libstrongswan/credentials')
-rw-r--r--src/libstrongswan/credentials/builder.c1
-rw-r--r--src/libstrongswan/credentials/builder.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/libstrongswan/credentials/builder.c b/src/libstrongswan/credentials/builder.c
index 68c54fb45..d3157c80e 100644
--- a/src/libstrongswan/credentials/builder.c
+++ b/src/libstrongswan/credentials/builder.c
@@ -23,6 +23,7 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
"BUILD_BLOB_PEM",
"BUILD_BLOB_PGP",
"BUILD_BLOB_DNSKEY",
+ "BUILD_BLOB_ALGID_PARAMS",
"BUILD_KEY_SIZE",
"BUILD_SIGNING_KEY",
"BUILD_SIGNING_CERT",
diff --git a/src/libstrongswan/credentials/builder.h b/src/libstrongswan/credentials/builder.h
index 26d19f5a5..41250ccae 100644
--- a/src/libstrongswan/credentials/builder.h
+++ b/src/libstrongswan/credentials/builder.h
@@ -53,10 +53,12 @@ enum builder_part_t {
BUILD_BLOB_ASN1_DER,
/** PEM encoded ASN.1/PGP blob, chunk_t */
BUILD_BLOB_PEM,
- /** OpenPGP key blob, chunk_t */
+ /** OpenPGP key blob, chunk_t */
BUILD_BLOB_PGP,
/** DNS public key blob (RFC 4034, RSA specifc RFC 3110), chunk_t */
BUILD_BLOB_DNSKEY,
+ /** parameters from algorithmIdentifier (ASN.1 blob), chunk_t */
+ BUILD_BLOB_ALGID_PARAMS,
/** key size in bits, as used for key generation, u_int */
BUILD_KEY_SIZE,
/** private key to use for signing, private_key_t* */