180181182183184185186187188189190
try { sslEngineResult = sslEngine.unwrap(inputByteBuffer, outputArray, 0, bba.size()); } finally { bba.restore(); bba.reset(); } } } catch (SSLException e) { return new SslResult(output, e); }
251252253254255256257258259260261
} return output; } finally { bba.restore(); bba.reset(); if (result != null && result.isError()) { if (output != null) { output.dispose(); }
347348349350351352353354355356357
try { sslEngineResult = sslEngine.wrap(inputArray, 0, bba.size(), outputByteBuffer); } finally { bba.restore(); bba.reset(); } } } catch (SSLException e) { return new SslResult(output, e); }