diff options
author | steve <steve> | 2010-03-14 12:52:38 +0000 |
---|---|---|
committer | steve <steve> | 2010-03-14 12:52:38 +0000 |
commit | daf5b8e7fed8e3b5d967704040dfa00159cb93fb (patch) | |
tree | 42ecc0b4f586df83b40ce926924c3f360ced3cca /crypto/x509/x509.h | |
parent | b321fc7d06c8ffab3bfac49248fc29a9551ae18c (diff) | |
download | openssl-daf5b8e7fed8e3b5d967704040dfa00159cb93fb.tar.gz |
add X509_CRL_sign_ctx function
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r-- | crypto/x509/x509.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index abd526ec8..9376ab0d7 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -660,8 +660,11 @@ int X509_signature_dump(BIO *bp,const ASN1_STRING *sig, int indent); int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig); int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md); +int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx); int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md); +int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx); int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md); +int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx); int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md); int X509_pubkey_digest(const X509 *data,const EVP_MD *type, @@ -897,9 +900,9 @@ int ASN1_item_verify(const ASN1_ITEM *it, X509_ALGOR *algor1, int ASN1_item_sign(const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, void *data, EVP_PKEY *pkey, const EVP_MD *type); -int ASN1_item_sign_ctx(EVP_MD_CTX *ctx, - const ASN1_ITEM *it, X509_ALGOR *algor1, X509_ALGOR *algor2, - ASN1_BIT_STRING *signature, void *asn); +int ASN1_item_sign_ctx(const ASN1_ITEM *it, + X509_ALGOR *algor1, X509_ALGOR *algor2, + ASN1_BIT_STRING *signature, void *asn, EVP_MD_CTX *ctx); #endif int X509_set_version(X509 *x,long version); |