SASC
DVBSoftCAM

cSecaCardInfo Class Reference

Inheritance diagram for cSecaCardInfo:

List of all members.

Public Member Functions

bool Parse (const char *line)
int KeySize (void)
bool Parse (const char *line)
int KeySize (void)

Public Attributes

unsigned char key [16]

Detailed Description

Definition at line 171 of file seca.c.


Member Function Documentation

int cSecaCardInfo::KeySize ( void  ) [inline]

Definition at line 178 of file seca.c.

{ return len; }
int cSecaCardInfo::KeySize ( void  ) [inline]

Definition at line 178 of file seca.c.

{ return len; }
bool cSecaCardInfo::Parse ( const char *  line)
bool cSecaCardInfo::Parse ( const char *  line)

Definition at line 181 of file seca.c.

References GetHex(), key, PLAINLEN_SECA_D, PLAINLEN_SECA_H, cProviderSeca::provId, and cProviderSeca::sa.

{
  return GetHex(line,provId,sizeof(provId)) &&
         GetHex(line,sa,sizeof(sa)) &&
         (len=GetHex(line,key,sizeof(key),false)) && 
         (len==PLAINLEN_SECA_H || len==PLAINLEN_SECA_D);
}

Member Data Documentation

unsigned char cSecaCardInfo::key

Definition at line 175 of file seca.c.

Referenced by Parse().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines