---
title: octetStringMatch
description: Compares an assertion value of Octet String syntax to a value whose syntax is the ASN.1 OCTET STRING type.
component: pingds
version: 7.5
page_id: pingds:schemaref:mr-octetStringMatch
canonical_url: https://docs.pingidentity.com/pingds/8.1/schemaref/mr-octetStringMatch.html
llms_txt: https://docs.pingidentity.com/pingds/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
superseded_by: https://docs.pingidentity.com/pingds/8.1/schemaref/mr-octetStringMatch.html
---

# octetStringMatch

Compares an assertion value of Octet String syntax to a value whose syntax is the ASN.1 OCTET STRING type.

The rule evaluates to TRUE if and only if the assertion value and the attribute value are of the same length, and corresponding octets are the same.

|                    |                                                           |
| ------------------ | --------------------------------------------------------- |
| *Names*            | octetStringMatch                                          |
| *Origin*           | [RFC 4517](https://datatracker.ietf.org/doc/html/rfc4517) |
| *Assertion syntax* | [OctetString](s-OctetString.html)                         |
| *OID*              | 2.5.13.17                                                 |
