ch.ethz.ssh2.crypto.digest
Class MAC

java.lang.Object
  extended by ch.ethz.ssh2.crypto.digest.MAC

public final class MAC
extends Object

MAC.

Version:
2.50, 03/15/10
Author:
Christian Plattner

Constructor Summary
MAC(String type, byte[] key)
           
 
Method Summary
static void checkMacList(String[] macs)
           
static int getKeyLen(String type)
           
 void getMac(byte[] out, int off)
           
static String[] getMacList()
           
 void initMac(int seq)
           
 int size()
           
 void update(byte[] packetdata, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MAC

public MAC(String type,
           byte[] key)
Method Detail

getMacList

public static String[] getMacList()

checkMacList

public static void checkMacList(String[] macs)

getKeyLen

public static int getKeyLen(String type)

initMac

public void initMac(int seq)

update

public void update(byte[] packetdata,
                   int off,
                   int len)

getMac

public void getMac(byte[] out,
                   int off)

size

public int size()


Copyright © 2011. All Rights Reserved.