Compare two ASN.1 OCTET STRING values lexicographically by content.

Synopsis

Declared in <openssl/asn1.h>

int
ASN1_OCTET_STRING_cmp(
    ASN1_OCTET_STRING const* a,
    ASN1_OCTET_STRING const* b);

Return Value

Negative, zero, or positive like memcmp according to the content bytes.

Parameters

Name

Description

a

First octet string.

b

Second octet string.

Created with MrDocs