org.apache.sshd.common
Interface Mac

All Known Implementing Classes:
BaseMac, HMACMD5, HMACMD596, HMACSHA1, HMACSHA196

public interface Mac

Message Authentication Code for use in SSH. It usually wraps a javax.crypto.Mac class.

Author:
Apache MINA SSHD Project

Method Summary
 void doFinal(byte[] buf, int offset)
           
 int getBlockSize()
           
 void init(byte[] key)
           
 void update(byte[] foo, int start, int len)
           
 void updateUInt(long foo)
           
 

Method Detail

getBlockSize

int getBlockSize()

init

void init(byte[] key)
          throws Exception
Throws:
Exception

update

void update(byte[] foo,
            int start,
            int len)

updateUInt

void updateUInt(long foo)

doFinal

void doFinal(byte[] buf,
             int offset)
             throws Exception
Throws:
Exception


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.