merge

actual fun merge(vararg loads: TrustAnchorLoad): TrustAnchorLoad

Joins several loads into one: the anchors of all of them, without repeats (two anchors with the same encoded bytes count once; the first is kept), in the order given.

The result has kind TrustAnchorLoadKind.CERTIFICATE when it holds anchors, and TrustAnchorLoadKind.UNRECOGNIZED with the first load's problem when it holds none; one load alone is returned unchanged. It carries every load's TrustAnchorLoad.unreadable entries, and no master list or problem of its own: read those on the loads you passed. With no loads, the result is TrustAnchorLoadProblem.NOT_RECOGNIZED.

Since

1.0.0

expect fun merge(vararg loads: TrustAnchorLoad): TrustAnchorLoad

Joins several loads into one: the anchors of all of them, without repeats (two anchors with the same encoded bytes count once; the first is kept), in the order given.

The result has kind TrustAnchorLoadKind.CERTIFICATE when it holds anchors, and TrustAnchorLoadKind.UNRECOGNIZED with the first load's problem when it holds none; one load alone is returned unchanged. It carries every load's TrustAnchorLoad.unreadable entries, and no master list or problem of its own: read those on the loads you passed. With no loads, the result is TrustAnchorLoadProblem.NOT_RECOGNIZED.

Since

1.0.0

actual fun merge(vararg loads: TrustAnchorLoad): TrustAnchorLoad

Joins several loads into one: the anchors of all of them, without repeats (two anchors with the same encoded bytes count once; the first is kept), in the order given.

The result has kind TrustAnchorLoadKind.CERTIFICATE when it holds anchors, and TrustAnchorLoadKind.UNRECOGNIZED with the first load's problem when it holds none; one load alone is returned unchanged. It carries every load's TrustAnchorLoad.unreadable entries, and no master list or problem of its own: read those on the loads you passed. With no loads, the result is TrustAnchorLoadProblem.NOT_RECOGNIZED.

Since

1.0.0

actual fun merge(vararg loads: TrustAnchorLoad): TrustAnchorLoad

Joins several loads into one: the anchors of all of them, without repeats (two anchors with the same encoded bytes count once; the first is kept), in the order given.

The result has kind TrustAnchorLoadKind.CERTIFICATE when it holds anchors, and TrustAnchorLoadKind.UNRECOGNIZED with the first load's problem when it holds none; one load alone is returned unchanged. It carries every load's TrustAnchorLoad.unreadable entries, and no master list or problem of its own: read those on the loads you passed. With no loads, the result is TrustAnchorLoadProblem.NOT_RECOGNIZED.

Since

1.0.0