Copy data of length len into an ASN.1 OCTET STRING.
Synopsis
Declared in <openssl/asn1.h>
int
ASN1_OCTET_STRING_set(
ASN1_OCTET_STRING* str,
unsigned char const* data,
int len);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
str |
Octet string whose content is replaced. |
data |
Bytes to copy into |
len |
Number of bytes at |
Created with MrDocs