Package-level declarations

Types

Link copied to clipboard
class Asn1Element(val tag: Asn1Tag, val rawValue: ByteArray, val children: List<Asn1Element>, val fullEncoding: ByteArray)

Represents a parsed ASN.1 DER element (TLV — Tag, Length, Value).

Link copied to clipboard
class Asn1ParseException(message: String)

Exception thrown when ASN.1 DER parsing encounters invalid or unsupported data.

Link copied to clipboard
object Asn1Parser

Read-only DER parser for ASN.1 structures.

Link copied to clipboard
class Asn1Tag(val tagClass: Asn1Tag.TagClass, val isConstructed: Boolean, val tagNumber: Int)

Represents an ASN.1 tag with class, constructed/primitive flag, and tag number.

Link copied to clipboard
class Oid(val components: List<Int>)

Represents an ASN.1 Object Identifier (OID).