summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509.h
diff options
context:
space:
mode:
authorjsing <>2018-02-14 16:57:25 +0000
committerjsing <>2018-02-14 16:57:25 +0000
commitc46ba7482ab6670501b4e03ceadbf235aa22b0e7 (patch)
tree070ba1732882d2bb8be5ba4acdfa2f1ef543f094 /src/lib/libcrypto/x509/x509.h
parentc865544aa0c94bd5b8fa9f689148c1ee561270f0 (diff)
downloadopenbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.tar.gz
openbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.tar.bz2
openbsd-c46ba7482ab6670501b4e03ceadbf235aa22b0e7.zip
Provide X509_get{0,m}_not{Before,After}().
Diffstat (limited to 'src/lib/libcrypto/x509/x509.h')
-rw-r--r--src/lib/libcrypto/x509/x509.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509.h b/src/lib/libcrypto/x509/x509.h
index cda89ac5af..0cb9e2826a 100644
--- a/src/lib/libcrypto/x509/x509.h
+++ b/src/lib/libcrypto/x509/x509.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509.h,v 1.27 2018/02/14 16:18:10 jsing Exp $ */ 1/* $OpenBSD: x509.h,v 1.28 2018/02/14 16:57:25 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -969,6 +969,10 @@ int X509_set_subject_name(X509 *x, X509_NAME *name);
969X509_NAME * X509_get_subject_name(X509 *a); 969X509_NAME * X509_get_subject_name(X509 *a);
970int X509_set_notBefore(X509 *x, const ASN1_TIME *tm); 970int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
971int X509_set_notAfter(X509 *x, const ASN1_TIME *tm); 971int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
972const ASN1_TIME *X509_get0_notBefore(const X509 *x);
973ASN1_TIME *X509_getm_notBefore(const X509 *x);
974const ASN1_TIME *X509_get0_notAfter(const X509 *x);
975ASN1_TIME *X509_getm_notAfter(const X509 *x);
972int X509_set_pubkey(X509 *x, EVP_PKEY *pkey); 976int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
973EVP_PKEY * X509_get_pubkey(X509 *x); 977EVP_PKEY * X509_get_pubkey(X509 *x);
974ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x); 978ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x);