]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/OSSL_CMP_CTX_snprint_PKIStatus.pod
Extract sk_ASN1_UTF8STRING2text() from ts_get_status_text() in ts_rsp_verify.c to...
[thirdparty/openssl.git] / doc / man3 / OSSL_CMP_CTX_snprint_PKIStatus.pod
CommitLineData
4dde554c
DDO
1=pod
2
3=head1 NAME
4
5OSSL_CMP_CTX_snprint_PKIStatus
6- function(s) for managing the CMP PKIStatus
7
8=head1 SYNOPSIS
9
10 #include <openssl/cmp.h>
11
12 char *OSSL_CMP_CTX_snprint_PKIStatus(OSSL_CMP_CTX *ctx, char *buf, int bufsize);
13
14=head1 DESCRIPTION
15
16This is the PKIStatus API for using CMP (Certificate Management Protocol) with
17OpenSSL.
18
19OSSL_CMP_CTX_snprint_PKIStatus() takes the PKIStatusInfo components contained
20in the given CMP context and places a human-readable string created from them
21in the given buffer, with the given maximal length.
22On success it returns a copy of the buffer pointer containing the string.
23
24=head1 NOTES
25
26CMP is defined in RFC 4210 (and CRMF in RFC 4211).
27
28=head1 RETURN VALUES
29
30OSSL_CMP_CTX_snprint_PKIStatus()
31returns the intended pointer value as described above or NULL on error.
32
33=head1 HISTORY
34
35The OpenSSL CMP support was added in OpenSSL 3.0.
36
37=head1 COPYRIGHT
38
39Copyright 2007-2019 The OpenSSL Project Authors. All Rights Reserved.
40
41Licensed under the Apache License 2.0 (the "License"). You may not use
42this file except in compliance with the License. You can obtain a copy
43in the file LICENSE in the source distribution or at
44L<https://www.openssl.org/source/license.html>.
45
46=cut