@@ -315,7 +315,7 @@ public static Config createEmptyConfig() {
315315 /**
316316 * Default ALPN announced protocols
317317 */
318- private String [] alpnAnnouncedProtocols = new String [] { "h2" };
318+ private String [] alpnAnnouncedProtocols = new String []{ "h2" };
319319
320320 /**
321321 * Default SRP Identifier
@@ -764,7 +764,7 @@ public static Config createEmptyConfig() {
764764 * How much padding bytes should be send by default
765765 */
766766 @ XmlJavaTypeAdapter (ByteArrayAdapter .class )
767- private byte [] defaultPaddingExtensionBytes = new byte [] { 0 , 0 , 0 , 0 , 0 , 0 };
767+ private byte [] defaultPaddingExtensionBytes = new byte []{ 0 , 0 , 0 , 0 , 0 , 0 };
768768
769769 /**
770770 * How long should our DTLSCookies be by default
@@ -2275,6 +2275,11 @@ public final void setSupportedSignatureAndHashAlgorithms(
22752275 Arrays .asList (supportedSignatureAndHashAlgorithms ));
22762276 }
22772277
2278+ public final void setSupportedSignatureAndHashAlgorithms (
2279+ List <SignatureAndHashAlgorithm > supportedSignatureAndHashAlgorithms ) {
2280+ this .defaultClientSupportedSignatureAndHashAlgorithms = supportedSignatureAndHashAlgorithms ;
2281+ }
2282+
22782283 public List <ProtocolVersion > getSupportedVersions () {
22792284 return supportedVersions ;
22802285 }
@@ -2882,8 +2887,7 @@ public byte[] getEarlyData() {
28822887 }
28832888
28842889 /**
2885- * @param earlyData
2886- * the earlyData to set
2890+ * @param earlyData the earlyData to set
28872891 */
28882892 public void setEarlyData (byte [] earlyData ) {
28892893 this .earlyData = earlyData ;
@@ -2897,8 +2901,7 @@ public List<PskSet> getDefaultPskSets() {
28972901 }
28982902
28992903 /**
2900- * @param defaultPskSets
2901- * the defaultPskSets to set
2904+ * @param defaultPskSets the defaultPskSets to set
29022905 */
29032906 public void setDefaultPskSets (List <PskSet > defaultPskSets ) {
29042907 this .defaultPskSets = defaultPskSets ;
@@ -2912,8 +2915,7 @@ public byte[] getPsk() {
29122915 }
29132916
29142917 /**
2915- * @param psk
2916- * the psk to set
2918+ * @param psk the psk to set
29172919 */
29182920 public void setPsk (byte [] psk ) {
29192921 this .psk = psk ;
@@ -2927,8 +2929,7 @@ public byte[] getDefaultSessionTicketAgeAdd() {
29272929 }
29282930
29292931 /**
2930- * @param defaultSessionTicketAgeAdd
2931- * the defaultSessionTicketAgeAdd to set
2932+ * @param defaultSessionTicketAgeAdd the defaultSessionTicketAgeAdd to set
29322933 */
29332934 public void setDefaultSessionTicketAgeAdd (byte [] defaultSessionTicketAgeAdd ) {
29342935 this .defaultSessionTicketAgeAdd = defaultSessionTicketAgeAdd ;
@@ -2942,8 +2943,7 @@ public byte[] getDefaultSessionTicketNonce() {
29422943 }
29432944
29442945 /**
2945- * @param defaultSessionTicketNonce
2946- * the defaultSessionTicketNonce to set
2946+ * @param defaultSessionTicketNonce the defaultSessionTicketNonce to set
29472947 */
29482948 public void setDefaultSessionTicketNonce (byte [] defaultSessionTicketNonce ) {
29492949 this .defaultSessionTicketNonce = defaultSessionTicketNonce ;
@@ -2957,8 +2957,8 @@ public byte[] getDefaultSessionTicketIdentity() {
29572957 }
29582958
29592959 /**
2960- * @param defaultSessionTicketIdentity
2961- * the defaultSessionTicketIdentity to set
2960+ * @param defaultSessionTicketIdentity the defaultSessionTicketIdentity to
2961+ * set
29622962 */
29632963 public void setDefaultSessionTicketIdentity (byte [] defaultSessionTicketIdentity ) {
29642964 this .defaultSessionTicketIdentity = defaultSessionTicketIdentity ;
@@ -2972,8 +2972,7 @@ public byte[] getClientEarlyTrafficSecret() {
29722972 }
29732973
29742974 /**
2975- * @param clientEarlyTrafficSecret
2976- * the clientEarlyTrafficSecret to set
2975+ * @param clientEarlyTrafficSecret the clientEarlyTrafficSecret to set
29772976 */
29782977 public void setClientEarlyTrafficSecret (byte [] clientEarlyTrafficSecret ) {
29792978 this .clientEarlyTrafficSecret = clientEarlyTrafficSecret ;
@@ -2987,8 +2986,7 @@ public byte[] getEarlySecret() {
29872986 }
29882987
29892988 /**
2990- * @param earlySecret
2991- * the earlySecret to set
2989+ * @param earlySecret the earlySecret to set
29922990 */
29932991 public void setEarlySecret (byte [] earlySecret ) {
29942992 this .earlySecret = earlySecret ;
@@ -3002,8 +3000,7 @@ public CipherSuite getEarlyDataCipherSuite() {
30023000 }
30033001
30043002 /**
3005- * @param earlyDataCipherSuite
3006- * the earlyDataCipherSuite to set
3003+ * @param earlyDataCipherSuite the earlyDataCipherSuite to set
30073004 */
30083005 public void setEarlyDataCipherSuite (CipherSuite earlyDataCipherSuite ) {
30093006 this .earlyDataCipherSuite = earlyDataCipherSuite ;
@@ -3017,8 +3014,7 @@ public byte[] getEarlyDataPsk() {
30173014 }
30183015
30193016 /**
3020- * @param earlyDataPsk
3021- * the earlyDataPsk to set
3017+ * @param earlyDataPsk the earlyDataPsk to set
30223018 */
30233019 public void setEarlyDataPsk (byte [] earlyDataPsk ) {
30243020 this .earlyDataPsk = earlyDataPsk ;
@@ -3032,8 +3028,7 @@ public Boolean isUsePsk() {
30323028 }
30333029
30343030 /**
3035- * @param usePsk
3036- * the usePsk to set
3031+ * @param usePsk the usePsk to set
30373032 */
30383033 public void setUsePsk (Boolean usePsk ) {
30393034 this .usePsk = usePsk ;
0 commit comments