Add builder part for parameters from algorithmIdentifier.
authorTobias Brunner <tobias@strongswan.org>
Wed, 18 Jan 2012 21:25:47 +0000 (22:25 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 1 Feb 2012 17:27:45 +0000 (18:27 +0100)
src/libstrongswan/credentials/builder.c
src/libstrongswan/credentials/builder.h

index 68c54fb..d3157c8 100644 (file)
@@ -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",
index 26d19f5..41250cc 100644 (file)
@@ -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* */