summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-26 14:31:05 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-26 14:31:05 +0000
commitbd9fc1d6673f110411d03d2c2c80a25dbb5339dc (patch)
tree8252af9ab61747ef57b95bc87a3101bc1d071baf /crypto/x509
parentc550f2e37bca43597eb5233ef2f62cfe84d0b988 (diff)
New functions to retrieve certificate signatures and signature OID NID.
(backport from HEAD)
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 092dd7450d..ea310b4e80 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -848,6 +848,10 @@ void *X509_get_ex_data(X509 *r, int idx);
int i2d_X509_AUX(X509 *a,unsigned char **pp);
X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length);
+void X509_get0_signature(ASN1_BIT_STRING **psig, X509_ALGOR **palg,
+ const X509 *x);
+int X509_get_signature_nid(const X509 *x);
+
int X509_alias_set1(X509 *x, unsigned char *name, int len);
int X509_keyid_set1(X509 *x, unsigned char *id, int len);
unsigned char * X509_alias_get0(X509 *x, int *len);