Skip to content

convertTmrAccesses

@JvmOverloads

fun convertTmrAccesses(tmrJWT: String, overEncryptionKey: ByteArray, conversionFilters: TMRAccessesConvertFilters? = null, deleteOnConvert: Boolean = true): ConvertTmrAccessesResponse

Convert all TMR Accesses addressed to a given auth factor and matching specified filters to classic message keys. All TMR accesses matching the specified filters must have been encrypted with the same overEncryptionKey.

Return

A CheckSigchainResponse instance containing the response.

Parameters

tmrJWTThe TMR JWT.
overEncryptionKeyTMR over-encryption key. This MUST be a cryptographically random buffer of 64 bytes.
conversionFiltersConvert tmr accesses filters. If multiple TMR Accesses with the auth factor, filter out the unwanted ones.
deleteOnConvertWhether or not to delete the TMR access after conversion.

Throws

SealdException