I2D_RE_X509_TBS - Online Linux Manual PageSection : 3
Updated : 2021-03-26
Source : 1.1.1k
Note : OpenSSL
NAMEd2i_X509_AUX, i2d_X509_AUX, i2d_re_X509_tbs, i2d_re_X509_CRL_tbs, i2d_re_X509_REQ_tbs − X509 encode and decode functions
SYNOPSIS #include <openssl/x509.h>
X509 *d2i_X509_AUX(X509 **px, const unsigned char **in, long len);
int i2d_X509_AUX(X509 *x, unsigned char **out);
int i2d_re_X509_tbs(X509 *x, unsigned char **out);
int i2d_re_X509_CRL_tbs(X509_CRL *crl, unsigned char **pp);
int i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp);
DESCRIPTIONThe X509 encode and decode routines encode and parse an X509 structure, which represents an X509 certificate. d2i_X509_AUX() is similar to d2i_X509 (3) but the input is expected to consist of an X509 certificate followed by auxiliary trust information. This is used by the PEM routines to read ‟TRUSTED CERTIFICATE” objects. This function should not be called on untrusted input. i2d_X509_AUX() is similar to i2d_X509 (3), but the encoded output contains both the certificate and any auxiliary trust information. This is used by the PEM routines to write ‟TRUSTED CERTIFICATE” objects. Note that this is a non-standard OpenSSL-specific data format. i2d_re_X509_tbs() is similar to i2d_X509 (3) except it encodes only the TBSCertificate portion of the certificate. i2d_re_X509_CRL_tbs() and i2d_re_X509_REQ_tbs() are analogous for CRL and certificate request, respectively. The ‟re” in i2d_re_X509_tbs stands for ‟re-encode”, and ensures that a fresh encoding is generated in case the object has been modified after creation (see the BUGS section). The encoding of the TBSCertificate portion of a certificate is cached in the X509 structure internally to improve encoding performance and to ensure certificate signatures are verified correctly in some certificates with broken (non-DER) encodings. If, after modification, the X509 object is re-signed with X509_sign(), the encoding is automatically renewed. Otherwise, the encoding of the TBSCertificate portion of the X509 can be manually renewed by calling i2d_re_X509_tbs().
RETURN VALUESd2i_X509_AUX() returns a valid X509 structure or NULL if an error occurred. i2d_X509_AUX() returns the length of encoded data or −1 on error. i2d_re_X509_tbs(), i2d_re_X509_CRL_tbs() and i2d_re_X509_REQ_tbs() return the length of encoded data or 0 on error.
SEE ALSOERR_get_error (3) X509_CRL_get0_by_serial (3), X509_get0_signature (3), X509_get_ext_d2i (3), X509_get_extension_flags (3), X509_get_pubkey (3), X509_get_subject_name (3), X509_get_version (3), X509_NAME_add_entry_by_txt (3), X509_NAME_ENTRY_get_object (3), X509_NAME_get_index_by_NID (3), X509_NAME_print_ex (3), X509_new (3), X509_sign (3), X509V3_get_d2i (3), X509_verify_cert (3)
COPYRIGHTCopyright 2002−2018 The OpenSSL Project Authors. All Rights Reserved. Licensed under the OpenSSL license (the ‟License”). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>. 0
Johanes Gumabo
Data Size : 12,006 byte
man-d___2i_X509_AUX.3sslBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 191,996
Visitor ID : :
Visitor IP : 3.142.172.250 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|d___2i_X509_AUX.3ssl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|d___2i_X509_AUX.3ssl|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|d___2i_X509_AUX.3ssl|43|br══─}─══|'br══─}─══
) (htmlprn|149|d___2i_X509_AUX.3ssl|43|'br══─}─══ |'br══─}─══
)