public class StateCookie extends Object
| Constructor and Description |
|---|
StateCookie(byte[] data,
int offset,
int length) |
StateCookie(int verificationTag,
int initialTSN,
int advertisedReceiverWindowCredit,
int numberOfOutboundStreams,
int numberOfInboundStreams) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(Mac messageAuthenticationCode) |
short |
getCurrentLifespan() |
int |
getInitialTSN() |
byte[] |
getMac() |
int |
getSize() |
int |
getVerificationTag() |
boolean |
isValid(Mac mac) |
public StateCookie(int verificationTag,
int initialTSN,
int advertisedReceiverWindowCredit,
int numberOfOutboundStreams,
int numberOfInboundStreams)
public StateCookie(byte[] data,
int offset,
int length)
public byte[] getBytes(Mac messageAuthenticationCode) throws InvalidKeyException, NoSuchAlgorithmException
public boolean isValid(Mac mac)
public int getVerificationTag()
public int getInitialTSN()
public byte[] getMac()
public short getCurrentLifespan()
public int getSize()
Copyright © 2005–2017 Red5. All rights reserved.