Merge pull request #4963 from corda/colljos-backport-secfix-serializer

(BACKPORT) ENT-3121 restrict custom serializers
This commit is contained in:
josecoll
2019-03-29 16:51:44 +00:00
committed by GitHub
14 changed files with 159 additions and 32 deletions

View File

@ -175,7 +175,6 @@ class NodeAttachmentService(
* this will provide an additional safety check against user error.
*/
@VisibleForTesting
@CordaSerializable
class HashCheckingStream(val expected: SecureHash.SHA256,
val expectedSize: Int,
input: InputStream,

View File

@ -17,5 +17,4 @@ interface NetworkRegistrationService {
data class CertificateResponse(val pollInterval: Duration, val certificates: List<X509Certificate>?)
@CordaSerializable
class CertificateRequestException(message: String) : CordaException(message)