public TlsProtocol(SecureRandom secureRandom) { mBlocking = false; mInputBuffers = new ByteQueueStream(); mOutputBuffer = new ByteQueueStream(); mRecordStream = new RecordStream(this, (Stream)(object)mInputBuffers, (Stream)(object)mOutputBuffer); mSecureRandom = secureRandom; }
public TlsProtocol(SecureRandom secureRandom) { this.mApplicationDataQueue = new ByteQueue(); this.mAlertQueue = new ByteQueue(2); this.mHandshakeQueue = new ByteQueue(); this.mAppDataSplitEnabled = true; this.mBlocking = true; this.mBlocking = false; this.mInputBuffers = new ByteQueueStream(); this.mOutputBuffer = new ByteQueueStream(); this.mRecordStream = new RecordStream(this, this.mInputBuffers, this.mOutputBuffer); this.mSecureRandom = secureRandom; }
public TlsProtocol(SecureRandom secureRandom) { this.mBlocking = false; this.mInputBuffers = new ByteQueueStream(); this.mOutputBuffer = new ByteQueueStream(); this.mRecordStream = new RecordStream(this, mInputBuffers, mOutputBuffer); this.mSecureRandom = secureRandom; }