OctetString
OctetString is a data type used in data representation standards, most prominently in ASN.1, to represent a sequence of eight-bit bytes. It stores binary data without any assumption about character encoding, making it suitable for arbitrary payloads such as cryptographic keys, digital signatures, hashes, or binary encodings.
In ASN.1 and its encoding rules, OctetString is encoded as a universal type with tag 04. BER
OctetString is distinct from character strings, which imply specific character sets. When text data must be
In programming, OctetString equivalents are byte arrays or binary blobs (for example, in Java a byte[], in
Common uses include transmission of binary data in protocols, storage of cryptographic material, and encapsulation of