Package-level declarations

Types

Link copied to clipboard
@Serializable(with = BitSetSerializer::class)
class BitSet : Iterable<Boolean>

Pure Kotlin Bit Set created by throwing a bunch of extension functions at a MutableList<Byte>. As a mental model: this BitSet grows from left to right, just like writing a text.

Link copied to clipboard
object BitSetSerializer : KSerializer<BitSet>
Link copied to clipboard

De-/serializes Base64 strings to/from ByteArray

Link copied to clipboard

De-/serializes Base64Url strings to/from ByteArray

Link copied to clipboard

De-/serializes a public key as a Base64Url-encoded IOS encoding public key

Link copied to clipboard
sealed class TemplateSerializer<T> : KSerializer<T>
Link copied to clipboard
open class TransformingSerializerTemplate<ValueT, EncodedT>(parent: KSerializer<EncodedT>, encodeAs: (ValueT) -> EncodedT, decodeAs: (EncodedT) -> ValueT, serialName: String = "") : TemplateSerializer<ValueT>
Link copied to clipboard

De-/serializes X509Certificate as Base64Url-encoded String

Properties

Link copied to clipboard
val Base64Strict: Base64

Strict Base64 encoder

Link copied to clipboard
val Base64UrlStrict: Base64

Strict Base64 URL encode

Functions

Link copied to clipboard

Returns a binary representation of this byte array's memory layout Bytes are separated by a single space. An empty byte array results in an empty string.

Link copied to clipboard
Link copied to clipboard

Returns all bits as they are accessible by the global bit index (i.e. after wrapping this ByteArray into a BitSet)