public class InboundHandshake extends RTMPHandshake
cipherIn, cipherOut, DH_BASE, DH_MODULUS, DH_MODULUS_BYTES, DIGEST_LENGTH, GENUINE_FMS_KEY, GENUINE_FP_KEY, HANDSHAKE_PAD_BYTES, HANDSHAKE_SIZE_SERVER, handshakeBytes, handshakeType, incomingPublicKey, KEY_LENGTH, keyAgreement, log, outgoingPublicKey, random, swfVerificationBytes, validationScheme| Constructor and Description |
|---|
InboundHandshake() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createHandshakeBytes()
Creates the servers handshake bytes
|
IoBuffer |
doHandshake(IoBuffer input)
Generates response for versioned connections.
|
boolean |
validate(IoBuffer input)
Determines the validation scheme for given input.
|
calculateHMAC_SHA256, calculateHMAC_SHA256, generateKeyPair, getCipherIn, getCipherOut, getDHOffset, getDHOffset0, getDHOffset1, getDigestOffset, getDigestOffset0, getDigestOffset1, getHandshakeBytes, getHandshakeType, getPublicKey, getSharedSecret, getSwfVerificationBytes, setHandshakeTypepublic IoBuffer doHandshake(IoBuffer input)
input - incoming RTMP bytesprotected void createHandshakeBytes()
createHandshakeBytes in class RTMPHandshakepublic boolean validate(IoBuffer input)
validate in interface IHandshakevalidate in class RTMPHandshakeinput - Copyright © 2006-2012 The Red5 Project