summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h
index 81a237d860..d232a54a21 100644
--- a/src/lib/libcrypto/x509/x509_local.h
+++ b/src/lib/libcrypto/x509/x509_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_local.h,v 1.26 2024/07/13 15:08:58 tb Exp $ */ 1/* $OpenBSD: x509_local.h,v 1.27 2024/08/31 10:03:03 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2013. 3 * project 2013.
4 */ 4 */
@@ -418,6 +418,23 @@ X509_ALGOR *PKCS5_pbkdf2_set(int iter, unsigned char *salt, int saltlen,
418int X509_PURPOSE_get_by_id(int id); 418int X509_PURPOSE_get_by_id(int id);
419int X509_PURPOSE_get_trust(const X509_PURPOSE *xp); 419int X509_PURPOSE_get_trust(const X509_PURPOSE *xp);
420 420
421int X509V3_add_value(const char *name, const char *value,
422 STACK_OF(CONF_VALUE) **extlist);
423int X509V3_add_value_uchar(const char *name, const unsigned char *value,
424 STACK_OF(CONF_VALUE) **extlist);
425int X509V3_add_value_bool(const char *name, int asn1_bool,
426 STACK_OF(CONF_VALUE) **extlist);
427int X509V3_add_value_int(const char *name, const ASN1_INTEGER *aint,
428 STACK_OF(CONF_VALUE) **extlist);
429
430int X509V3_get_value_bool(const CONF_VALUE *value, int *asn1_bool);
431int X509V3_get_value_int(const CONF_VALUE *value, ASN1_INTEGER **aint);
432
433char *X509V3_get_string(X509V3_CTX *ctx, const char *name, const char *section);
434STACK_OF(CONF_VALUE) *X509V3_get_section(X509V3_CTX *ctx, const char *section);
435void X509V3_string_free(X509V3_CTX *ctx, char *str);
436void X509V3_section_free(X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *section);
437
421const X509V3_EXT_METHOD *x509v3_ext_method_authority_key_identifier(void); 438const X509V3_EXT_METHOD *x509v3_ext_method_authority_key_identifier(void);
422const X509V3_EXT_METHOD *x509v3_ext_method_basic_constraints(void); 439const X509V3_EXT_METHOD *x509v3_ext_method_basic_constraints(void);
423const X509V3_EXT_METHOD *x509v3_ext_method_certificate_issuer(void); 440const X509V3_EXT_METHOD *x509v3_ext_method_certificate_issuer(void);