Updated openssl plugin to the new builder API

This commit is contained in:
Martin Willi
2009-09-10 16:20:19 +02:00
parent 1086d00e41
commit 30c06407c6
9 changed files with 267 additions and 394 deletions
@@ -37,11 +37,15 @@ struct openssl_rsa_public_key_t {
};
/**
* Create the builder for a public key.
* Load a RSA public key using OpenSSL.
*
* Accepts a BUILD_BLOB_ASN1_DER argument.
*
* @param type type of the key, must be KEY_RSA
* @return builder instance
* @param args builder_part_t argument list
* @return loaded key, NULL on failure
*/
builder_t *openssl_rsa_public_key_builder(key_type_t type);
openssl_rsa_public_key_t *openssl_rsa_public_key_load(key_type_t type,
va_list args);
#endif /** OPENSSL_RSA_PUBLIC_KEY_H_ @}*/