diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-03-23 11:54:51 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-03-23 11:54:51 +0000 |
commit | d82e2718e2a1346b231abda31a102b144ac21090 (patch) | |
tree | 7ed221e66f158732f34c4b024cfffd2043d83926 /crypto/evp/evp.h | |
parent | 18e377b4ffa6d15572d7283f1eb1743ce5875804 (diff) |
Add information and pem strings. Update dependencies.
Diffstat (limited to 'crypto/evp/evp.h')
-rw-r--r-- | crypto/evp/evp.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index ab2a1e593f..62f3320923 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -856,6 +856,28 @@ int EVP_PBE_alg_add(int nid, const EVP_CIPHER *cipher, const EVP_MD *md, void EVP_PBE_cleanup(void); const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find(int type); +int EVP_PKEY_asn1_add(const EVP_PKEY_ASN1_METHOD *ameth); +EVP_PKEY_ASN1_METHOD* EVP_PKEY_asn1_new(int id, + const char *pem_str, const char *info); +void EVP_PKEY_asn1_free(EVP_PKEY_ASN1_METHOD *ameth); +void EVP_PKEY_asn1_set_private(EVP_PKEY_ASN1_METHOD *ameth, + int (*priv_decode)(EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf), + int (*priv_encode)(PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk), + int (*priv_print)(BIO *out, const EVP_PKEY *pkey, int indent, + ASN1_PCTX *pctx)); +void EVP_PKEY_asn1_set_param(EVP_PKEY_ASN1_METHOD *ameth, + int (*param_decode)(const EVP_PKEY *pk, X509_PUBKEY *pub), + int (*param_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk), + int (*param_missing)(const EVP_PKEY *pk), + int (*param_copy)(EVP_PKEY *to, const EVP_PKEY *from), + int (*param_cmp)(const EVP_PKEY *a, const EVP_PKEY *b), + int (*param_print)(BIO *out, const EVP_PKEY *pkey, int indent, + ASN1_PCTX *pctx)); +void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth, + void (*pkey_free)(EVP_PKEY *pkey)); +void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, + void (*pkey_ctrl)(EVP_PKEY *pkey, int op, + long arg1, void *arg2)); /* BEGIN ERROR CODES */ /* The following lines are auto generated by the script mkerr.pl. Any changes |