[#PKCS7_get_octet_string]
= PKCS7&lowbar;get&lowbar;octet&lowbar;string
:mrdocs:

Return an ASN&period;1 octet string from a PKCS&num;7 structure&period;

== Synopsis

Declared in `&lt;openssl&sol;pkcs7&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:ASN1_OCTET_STRING.adoc[ASN1&lowbar;OCTET&lowbar;STRING]*
PKCS7&lowbar;get&lowbar;octet&lowbar;string(xref:PKCS7.adoc[PKCS7]* p7);
----

== Return Value

Pointer to an internal ASN1&lowbar;OCTET&lowbar;STRING, or NULL if the structure cannot be parsed&period; The returned pointer must not be freed by the caller&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *p7*
| PKCS&num;7 object to query&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
