Go to the documentation of this file.
98 char *
m = NULL, mlch =
' ';
115 if (
BIO_write(bp,
"Certificate:\n", 13) <= 0)
122 if (
BIO_printf(bp,
"%8sVersion: %lu (0x%lx)\n",
"",
l + 1,
l) <= 0)
127 if (
BIO_write(bp,
" Serial Number:", 22) <= 0)
131 if (bs->
length < (
int)
sizeof(
long)
132 || (bs->
length ==
sizeof(
long) && (bs->
data[0] & 0x80) == 0)) {
139 if (
BIO_printf(bp,
" %s%lu (%s0x%lx)\n", neg,
l, neg,
l) <= 0)
148 ((
i + 1 == bs->
length) ?
'\n' :
':')) <= 0)
170 if (
BIO_write(bp,
" Validity\n", 17) <= 0)
172 if (
BIO_write(bp,
" Not Before: ", 24) <= 0)
176 if (
BIO_write(bp,
"\n Not After : ", 25) <= 0)
193 if (
BIO_write(bp,
" Subject Public Key Info:\n", 33) <= 0)
195 if (
BIO_printf(bp,
"%12sPublic Key Algorithm: ",
"") <= 0)
204 BIO_printf(bp,
"%12sUnable to load Public Key\n",
"");
214 if (
BIO_printf(bp,
"%8sIssuer Unique ID: ",
"") <= 0)
220 if (
BIO_printf(bp,
"%8sSubject Unique ID: ",
"") <= 0)
229 ci->extensions, cflag, 8);
248 unsigned char *der = NULL;
249 unsigned char *dertmp;
257 if (
BIO_printf(bp,
" Subject OCSP hash: ") <= 0)
260 if ((der = dertmp = (
unsigned char *)
OPENSSL_malloc(derlen)) == NULL)
276 if (
BIO_printf(bp,
"\n Public key OCSP hash: ") <= 0)
279 if (!
EVP_Digest(
x->cert_info->key->public_key->data,
280 x->cert_info->key->public_key->length,
299 if (
BIO_puts(bp,
" Signature Algorithm: ") <= 0)
337 ((s[1] >=
'A') && (s[1] <=
'Z') && ((s[2] ==
'=') ||
341 ))) || (*s ==
'\0')) {
#define X509_NAME_print_ex
#define X509V3_extensions_print
#define X509_get_subject_name
ASN1_BIT_STRING * subjectUID
#define X509_FLAG_NO_SIGNAME
#define X509_FLAG_NO_HEADER
#define OPENSSL_PUT_ERROR(library, reason)
ASN1_BIT_STRING * issuerUID
int X509_ocspid_print(BIO *bp, X509 *x)
#define X509_get_notBefore
#define X509_FLAG_NO_ISSUER
#define X509_FLAG_NO_VERSION
#define EVP_PKEY_print_public
#define X509_signature_dump
#define X509_FLAG_NO_SIGDUMP
#define X509_NAME_oneline
int X509_signature_print(BIO *bp, const X509_ALGOR *sigalg, const ASN1_STRING *sig)
#define X509_get_issuer_name
#define XN_FLAG_SEP_MULTILINE
#define X509_get_notAfter
#define X509_FLAG_NO_VALIDITY
#define X509_FLAG_NO_EXTENSIONS
int x509_print_rsa_pss_params(BIO *bp, const X509_ALGOR *sigalg, int indent, ASN1_PCTX *pctx)
#define X509_FLAG_NO_SERIAL
int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags, unsigned long cflag)
#define X509_FLAG_NO_SUBJECT
int X509_print_ex_fp(FILE *fp, X509 *x, unsigned long nmflag, unsigned long cflag)
#define X509_CERT_AUX_print
UniquePtr< SSL_SESSION > ret
int X509_print_fp(FILE *fp, X509 *x)
const OPENSSL_EXPORT EVP_MD * EVP_sha1(void)
#define SHA_DIGEST_LENGTH
#define X509_FLAG_NO_PUBKEY
#define X509_get_serialNumber
int X509_print(BIO *bp, X509 *x)
int X509_NAME_print(BIO *bp, const X509_NAME *name, int obase)
#define V_ASN1_NEG_INTEGER
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:25