Deep-copy an ASN.1 OCTET STRING.
Declared in <openssl/asn1.h>
ASN1_OCTET_STRING*
ASN1_OCTET_STRING_dup(ASN1_OCTET_STRING const* a);
Newly allocated ASN1_OCTET_STRING copy, or NULL on error; free with ASN1_OCTET_STRING_free().
| Name | Description |
|---|---|
| a | Octet string to duplicate. |