Update Bouncy Castle to 1.59

- pick up CVE fixes, etc.
  https://www.bouncycastle.org/latest_releases.html

Change-Id: Iced880a43cd5250a4fa5af32528f43ed29a5ed6f
diff --git a/lib/BUCK b/lib/BUCK
index 6a2971d..913bd0c 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Thu, 24 May 2018 16:00:10 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Thu, 24 May 2018 21:24:53 GMT. Do not edit this file manually. *****
 # ***** Use onos-lib-gen *****
 
 pass_thru_pom(
@@ -1573,19 +1573,19 @@
 
 remote_jar (
   name = 'bcpkix-jdk15on',
-  out = 'bcpkix-jdk15on-1.58.jar',
-  url = 'mvn:org.bouncycastle:bcpkix-jdk15on:jar:1.58',
-  sha1 = '15a760a039b040e767a75c77ffcc4ff62558f903',
-  maven_coords = 'org.bouncycastle:bcpkix-jdk15on:1.58',
+  out = 'bcpkix-jdk15on-1.59.jar',
+  url = 'mvn:org.bouncycastle:bcpkix-jdk15on:jar:1.59',
+  sha1 = '9cef0aab8a4bb849a8476c058ce3ff302aba3fff',
+  maven_coords = 'org.bouncycastle:bcpkix-jdk15on:1.59',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'bcprov-jdk15on',
-  out = 'bcprov-jdk15on-1.58.jar',
-  url = 'mvn:org.bouncycastle:bcprov-jdk15on:jar:1.58',
-  sha1 = '2c9aa1c4e3372b447ba5daabade4adf2a2264b12',
-  maven_coords = 'org.bouncycastle:bcprov-jdk15on:1.58',
+  out = 'bcprov-jdk15on-1.59.jar',
+  url = 'mvn:org.bouncycastle:bcprov-jdk15on:jar:1.59',
+  sha1 = '2507204241ab450456bdb8e8c0a8f986e418bd99',
+  maven_coords = 'org.bouncycastle:bcprov-jdk15on:1.59',
   visibility = [ 'PUBLIC' ],
 )
 
diff --git a/lib/deps.json b/lib/deps.json
index d62dbf2..27db13d 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -276,8 +276,8 @@
     "google-code-findbugs-3.0.0": "mvn:com.google.code.findbugs:jsr305:3.0.0",
     "google-errorprone-2.0.19": "mvn:com.google.errorprone:error_prone_annotations:2.0.19",
     "google-instrumentation-0.3.0": "mvn:com.google.instrumentation:instrumentation-api:0.3.0",
-    "bcpkix-jdk15on": "mvn:org.bouncycastle:bcpkix-jdk15on:1.58",
-    "bcprov-jdk15on": "mvn:org.bouncycastle:bcprov-jdk15on:1.58",
+    "bcpkix-jdk15on": "mvn:org.bouncycastle:bcpkix-jdk15on:1.59",
+    "bcprov-jdk15on": "mvn:org.bouncycastle:bcprov-jdk15on:1.59",
     "hamcrest-optional": "mvn:com.spotify:hamcrest-optional:1.1.0",
     "swagger-annotations": "mvn:io.swagger:swagger-annotations:1.5.16",
     "kafka-clients": "mvn:org.apache.servicemix.bundles:org.apache.servicemix.bundles.kafka-clients:0.8.2.2_1",
diff --git a/lib/pom.xml b/lib/pom.xml
index 581e2d3..8ae2c4d 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -53,7 +53,7 @@
         <slf4j.version>1.7.21</slf4j.version>
         <guava.version>22.0</guava.version>
         <commons.io.version>2.6</commons.io.version>
-        <bouncycastle.version>1.58</bouncycastle.version>
+        <bouncycastle.version>1.59</bouncycastle.version>
         <!-- TODO argLine was originally added maven-surfire-plugin configuration
                   to fix locale errors for non-US developers. However, it breaks
                   SonarQube's test coverage, so moving here for now. -->