add padding support via hx509_crypto_set_padding

This commit is contained in:
Love Hornquist Astrand
2010-09-22 14:41:17 -07:00
parent 2f9f212980
commit 6f328a9194
4 changed files with 27 additions and 4 deletions

View File

@@ -71,6 +71,11 @@ enum {
HX509_VALIDATE_F_VERBOSE = 2
};
enum {
HX509_CRYPTO_PADDING_PKCS7 = 0,
HX509_CRYPTO_PADDING_NONE = 1
};
struct hx509_cert_attribute_data {
heim_oid oid;
heim_octet_string data;