From df9ea600ce311bdf907678d0da94eea5b39d890f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 18 Aug 2015 19:48:59 +0200 Subject: First working version with SSL support --- .../org/openslx/bwlp/thrift/iface/Satellite.java | 119 ++++++++++++++++++++- 1 file changed, 115 insertions(+), 4 deletions(-) (limited to 'src/main/java/org/openslx/bwlp/thrift/iface/Satellite.java') diff --git a/src/main/java/org/openslx/bwlp/thrift/iface/Satellite.java b/src/main/java/org/openslx/bwlp/thrift/iface/Satellite.java index 81365b7..f2c205c 100644 --- a/src/main/java/org/openslx/bwlp/thrift/iface/Satellite.java +++ b/src/main/java/org/openslx/bwlp/thrift/iface/Satellite.java @@ -37,6 +37,7 @@ public class Satellite implements org.apache.thrift.TBase, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -46,11 +47,13 @@ public class Satellite implements org.apache.thrift.TBase addressList; // required public String displayName; // required + public ByteBuffer certSha256; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ADDRESS_LIST((short)1, "addressList"), - DISPLAY_NAME((short)2, "displayName"); + DISPLAY_NAME((short)2, "displayName"), + CERT_SHA256((short)3, "certSha256"); private static final Map byName = new HashMap(); @@ -69,6 +72,8 @@ public class Satellite implements org.apache.thrift.TBase addressList, - String displayName) + String displayName, + ByteBuffer certSha256) { this(); this.addressList = addressList; this.displayName = displayName; + this.certSha256 = certSha256; } /** @@ -144,6 +153,10 @@ public class Satellite implements org.apache.thrift.TBase