Asn1OctetString

Interface describing an ASN.1 OCTET STRING.

Signum will attempt to parse any ASN.1 OCTET STRING's content as ASN.1. If this attempt succeeds, this will be an Asn1EncapsulatingOctetString. Otherwise, it will be an Asn1PrimitiveOctetString.

If you are expecting arbitrary bytes, Asn1OctetString is the correct type to look for. (Your arbitrary bytes might inadvertently be valid ASN.1!)

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val content: ByteArray

Raw data contained in this ASN.1 primitive in its encoded form. Requires decoding to interpret it.