FMLiveSwitchAesCounter Class Reference

Instance Methods

(void) - clear
 
(FMLiveSwitchDataBuffer *) - decryptWithBuffer:ssrc:packetIndex:
 
(FMLiveSwitchDataBuffer *) - decryptWithBuffer:ssrc:packetIndex:usePool:
 
(FMLiveSwitchDataBuffer *) - encryptWithBuffer:ssrc:packetIndex:
 
(FMLiveSwitchDataBuffer *) - encryptWithBuffer:ssrc:packetIndex:usePool:
 
(FMLiveSwitchDataBuffer *) - generateWithLabel:length:
 
(instancetype) - initWithKey:salt:
 
(instancetype) - initWithKey:salt:maxOutputSize:
 

Class Methods

(FMLiveSwitchAesCounter *) + counterWithKey:salt:
 
(FMLiveSwitchAesCounter *) + counterWithKey:salt:maxOutputSize:
 

Method Documentation

◆ clear

- (void) clear

◆ counterWithKey:salt:

+ (FMLiveSwitchAesCounter*) counterWithKey: (FMLiveSwitchDataBuffer *)  key
salt: (FMLiveSwitchDataBuffer *)  salt 

◆ counterWithKey:salt:maxOutputSize:

+ (FMLiveSwitchAesCounter*) counterWithKey: (FMLiveSwitchDataBuffer *)  key
salt: (FMLiveSwitchDataBuffer *)  salt
maxOutputSize: (int)  maxOutputSize 

◆ decryptWithBuffer:ssrc:packetIndex:

- (FMLiveSwitchDataBuffer*) decryptWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
ssrc: (long long)  ssrc
packetIndex: (long long)  packetIndex 

◆ decryptWithBuffer:ssrc:packetIndex:usePool:

- (FMLiveSwitchDataBuffer*) decryptWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
ssrc: (long long)  ssrc
packetIndex: (long long)  packetIndex
usePool: (bool)  usePool 

◆ encryptWithBuffer:ssrc:packetIndex:

- (FMLiveSwitchDataBuffer*) encryptWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
ssrc: (long long)  ssrc
packetIndex: (long long)  packetIndex 

◆ encryptWithBuffer:ssrc:packetIndex:usePool:

- (FMLiveSwitchDataBuffer*) encryptWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
ssrc: (long long)  ssrc
packetIndex: (long long)  packetIndex
usePool: (bool)  usePool 

◆ generateWithLabel:length:

- (FMLiveSwitchDataBuffer*) generateWithLabel: (uint8_t)  label
length: (int)  length 

◆ initWithKey:salt:

- (instancetype) initWithKey: (FMLiveSwitchDataBuffer *)  key
salt: (FMLiveSwitchDataBuffer *)  salt 

◆ initWithKey:salt:maxOutputSize:

- (instancetype) initWithKey: (FMLiveSwitchDataBuffer *)  key
salt: (FMLiveSwitchDataBuffer *)  salt
maxOutputSize: (int)  maxOutputSize