Companion

Functions

Link copied to clipboard
fun fromParts(protectedHeader: JwsHeader.Part? = null, unprotectedHeader: JwsHeader.Part? = null): JwsHeader

Merges protected and unprotected header fragments into the effective JwsHeader.

fun fromParts(protectedHeader: ByteArray? = null, unprotectedHeader: JwsHeader.Part? = null): JwsHeader

Decodes the protected fragment and merges it with the optional unprotected fragment.