public class KeyExchangeManager
extends java.lang.Object
Constructor and Description |
---|
KeyExchangeManager(java.io.InputStream a_inputStream,
java.io.OutputStream a_outputStream,
MixCascade a_cascade,
ITrustModel a_trustModel,
boolean bDebug) |
Modifier and Type | Method and Description |
---|---|
MixCascade |
getConnectedCascade() |
ControlChannelCipher |
getControlChannelCipher() |
int |
getDownstreamSendMe() |
ISymCipher |
getFirstMixSymmetricCipher() |
FixedRatioChannelsDescription |
getFixedRatioChannelsDescription() |
int |
getMaxOpenChannels() |
MixParameters[] |
getMixParameters() |
ISymCipher |
getMultiplexerInputStreamCipher() |
ISymCipher |
getMultiplexerOutputStreamCipher() |
int |
getUpstreamSendMe() |
boolean |
isChainProtocolWithFlowControl() |
boolean |
isChainProtocolWithUpstreamFlowControl() |
boolean |
isDebug() |
boolean |
isPaymentRequired() |
boolean |
isProtocolWithEnhancedChannelEncryption() |
boolean |
isProtocolWithIntegrityCheck() |
boolean |
isProtocolWithTimestamp() |
void |
removeCertificateLock() |
boolean |
supportsUDPOverUDP() |
private int m_mixCascadeCertificateLock
private java.lang.Object m_internalSynchronization
private boolean m_protocolWithTimestamp
private boolean m_protocolWithReplay
private boolean m_paymentRequired
private boolean m_bEnhancedChannelEncryption
private boolean m_bWithIntegrityCheck
private ISymCipher m_firstMixSymmetricCipher
private ControlChannelCipher m_controlchannelCipher
private boolean m_chainProtocolWithFlowControl
private boolean m_chainProtocolWithUpstreamFlowControl
private int m_upstreamSendMe
private int m_downstreamSendMe
private int m_iMaxOpenChannels
private boolean m_bDebug
private FixedRatioChannelsDescription m_fixedRatioChannelsDescription
private MixParameters[] m_mixParameters
private ISymCipher m_multiplexerInputStreamCipher
private ISymCipher m_multiplexerOutputStreamCipher
private MixCascade m_cascade
private TermsAndConditionsRequest m_tnCRequest
private TermsAndConditionsReadException tcrException
private boolean m_bsupportsUDPoverUDP
public KeyExchangeManager(java.io.InputStream a_inputStream, java.io.OutputStream a_outputStream, MixCascade a_cascade, ITrustModel a_trustModel, boolean bDebug) throws XMLParseException, ServiceSignatureException, java.io.IOException, UnknownProtocolVersionException, TrustException, TermsAndConditionsReadException, IllegalTCRequestPostConditionException
a_inputStream
- InputStream to receive messages from.a_outputStream
- OutputStream to send messages over.a_cascade
- the cascade to connect to; this is only used to update database
entriesbDebug
- if bDebug == true, then this KeyExchange is just for debugging
purposes. This means that all keys are set to zero!XMLParseException
java.security.SignatureException
java.io.IOException
UnknownProtocolVersionException
TermsAndConditionsReadException
IllegalTCRequestPostConditionException
ServiceSignatureException
TrustException
public boolean isProtocolWithTimestamp()
public boolean isPaymentRequired()
public boolean isChainProtocolWithFlowControl()
public boolean isChainProtocolWithUpstreamFlowControl()
public int getUpstreamSendMe()
public int getDownstreamSendMe()
public FixedRatioChannelsDescription getFixedRatioChannelsDescription()
public ISymCipher getFirstMixSymmetricCipher()
public ISymCipher getMultiplexerInputStreamCipher()
public ISymCipher getMultiplexerOutputStreamCipher()
public MixParameters[] getMixParameters()
public MixCascade getConnectedCascade()
public void removeCertificateLock()
public boolean isProtocolWithEnhancedChannelEncryption()
public boolean isProtocolWithIntegrityCheck()
public ControlChannelCipher getControlChannelCipher()
public boolean isDebug()
public int getMaxOpenChannels()
public boolean supportsUDPOverUDP()
Copyright © 2023. All rights reserved.