implemented a pkcs1 plugin providing PKCS#1 key parsing builders

This commit is contained in:
Martin Willi
2009-08-26 11:23:50 +02:00
parent 750bbcf9a8
commit 1e0f69373a
10 changed files with 595 additions and 0 deletions
@@ -169,6 +169,14 @@ static void* create(private_credential_factory_t *this, credential_type_t type,
case BUILD_BLOB_RFC_3110:
case BUILD_PASSPHRASE:
case BUILD_SERIAL:
case BUILD_RSA_MODULUS:
case BUILD_RSA_PUB_EXP:
case BUILD_RSA_PRIV_EXP:
case BUILD_RSA_PRIME1:
case BUILD_RSA_PRIME2:
case BUILD_RSA_EXP1:
case BUILD_RSA_EXP2:
case BUILD_RSA_COEFF:
builder->add(builder, part, va_arg(args, chunk_t));
continue;
case BUILD_X509_FLAG: