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() |
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.