|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rsa.authagent.authapi.ciphers.AceF2
public class AceF2
| Field Summary | |
|---|---|
static int |
UTIL_HASH
Hash algorithm. |
static int |
WPCODE_HASH
|
| Constructor Summary | |
|---|---|
AceF2(int iHashType)
Constructor for AceF2 |
|
| Method Summary | |
|---|---|
void |
hash(byte[] out,
byte[] in)
This is the core F2 ACE Hash function. |
byte[] |
hash(int outLen,
byte[] in)
This is a variant of the hash function which allocates and return the output buffer to the caller. |
void |
setType(int iHashType)
Change the type of hash on the fly. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UTIL_HASH
public static final int WPCODE_HASH
| Constructor Detail |
|---|
public AceF2(int iHashType)
iHashType - int The type of hash to use; equal to the number of rounds.| Method Detail |
|---|
public void setType(int iHashType)
iHashType - int The type of hash to use; equal to the number of rounds.
public byte[] hash(int outLen,
byte[] in)
throws java.security.GeneralSecurityException
outLen - int Length of the desired output.in - byte[] Input buffer.
java.security.GeneralSecurityException
public void hash(byte[] out,
byte[] in)
throws java.security.GeneralSecurityException
This function is generally accessed by either sdi_utl_hash() or sdi_int_f2hash() methods.
out - Output byte buffer.in - Input byte buffer.count - The number of F2 rounds that should be performed.
AceF2Exception - Is thrown for invalid parameters.
java.security.GeneralSecurityException
|
Authentication API v8.1 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||