Skip to content

Commit 1a6f7bc

Browse files
authored
Whitelisting CRLReason class (corda#2803)
1 parent 9afcbb1 commit 1a6f7bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

node-api/src/main/kotlin/net/corda/nodeapi/internal/serialization/DefaultWhitelist.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import org.apache.activemq.artemis.api.core.SimpleString
77
import rx.Notification
88
import rx.exceptions.OnErrorNotImplementedException
99
import sun.security.x509.X509CertImpl
10+
import java.security.cert.CRLReason
1011
import java.util.*
1112

1213
/**
@@ -62,6 +63,7 @@ object DefaultWhitelist : SerializationWhitelist {
6263
StackTraceElement::class.java,
6364

6465
// Implementation of X509Certificate.
65-
X509CertImpl::class.java
66+
X509CertImpl::class.java,
67+
CRLReason::class.java
6668
)
6769
}

0 commit comments

Comments
 (0)