CORDA-2595 - check that all attachments are trusted before loading (#4763)

CORDA-2595 - Fix test and api.

CORDA-2595 add test

CORDA-2595 fix tests

CORDA-2595 fix test and address code review comments

CORDA-2595 address code review comments
This commit is contained in:
Tudor Malene
2019-02-15 17:33:14 +00:00
committed by Tommy Lillehagen
parent 37f9eb31f7
commit 3d362e066c
19 changed files with 105 additions and 52 deletions

View File

@ -86,7 +86,7 @@ class JacksonSupportTest(@Suppress("unused") private val name: String, factory:
@Before
fun setup() {
val unsignedAttachment = object : AbstractAttachment({ byteArrayOf() }) {
val unsignedAttachment = object : AbstractAttachment({ byteArrayOf() }, "test") {
override val id: SecureHash get() = throw UnsupportedOperationException()
}