BitString

class BitString(byteArray: ByteArray)(source)

The BitString class represents a sequence of bits using a from a provided ByteArray. It reverses the bits from left to right to follow the revocation list specs of left to right indexing.

Constructors

Link copied to clipboard
constructor(byteArray: ByteArray)

Properties

Link copied to clipboard
val bitSet: <Error class: unknown class>
Link copied to clipboard
val size: Int

The number of bits in the sequence.

Functions

Link copied to clipboard
fun isRevoked(index: Int): Boolean

Checks if the bit at the specified index is set (i.e., if the bit is "revoked").