net.jradius.client.auth.tls
Class RecordStream
java.lang.Object
net.jradius.client.auth.tls.RecordStream
public class RecordStream
- extends java.lang.Object
An implementation of the TLS 1.0 record layer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hash1
protected org.bouncycastle.crypto.tls.CombinedHash hash1
hash2
protected org.bouncycastle.crypto.tls.CombinedHash hash2
readSuite
protected TlsCipherSuite readSuite
writeSuite
protected TlsCipherSuite writeSuite
RecordStream
protected RecordStream(TlsProtocolHandler handler)
setInputStream
public void setInputStream(java.io.ByteArrayInputStream stream)
setOutputStream
public void setOutputStream(java.io.ByteArrayOutputStream stream)
hasMore
public boolean hasMore()
throws java.io.IOException
- Throws:
java.io.IOException
readData
public void readData()
throws java.io.IOException
- Throws:
java.io.IOException
decodeAndVerify
protected byte[] decodeAndVerify(short type,
java.io.InputStream is,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
writeMessage
protected void writeMessage(short type,
byte[] message,
int offset,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
close
protected void close()
throws java.io.IOException
- Throws:
java.io.IOException
flush
protected void flush()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2008 JRadius Project, All Rights Reserved.