|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.handle.hdllib.AuthenticationInfo
net.handle.hdllib.SecretKeyAuthenticationInfo
public class SecretKeyAuthenticationInfo
Constructor Summary | |
---|---|
SecretKeyAuthenticationInfo(byte[] userIDHandle,
int userIDIndex,
byte[] secretKey)
Construct a SecretKeyAuthenticationInfo object using the given user ID handle with the given key at the given handle index. |
|
SecretKeyAuthenticationInfo(byte[] userIDHandle,
int userIDIndex,
byte[] secretKey,
boolean hash)
Construct a SecretKeyAuthenticationInfo object using the given user ID handle with the given key at the given handle index. |
Method Summary | |
---|---|
byte[] |
authenticate(ChallengeResponse challenge,
AbstractRequest request)
Sign the given nonce and requestDigest given as a challenge to the given request. |
boolean |
equals(java.lang.Object obj)
|
byte[] |
getAuthType()
Get the identifier for the type of authentication performed. |
byte[] |
getSecretKey()
Return the byte-encoded representation of the secret key. |
byte[] |
getUserIdHandle()
Get the name of the handle that identifies the user that is represented by this authentication object. |
int |
getUserIdIndex()
Get the index of the handle value that identifies this user. |
java.lang.String |
toString()
|
Methods inherited from class net.handle.hdllib.AuthenticationInfo |
---|
getUserValueReference |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SecretKeyAuthenticationInfo(byte[] userIDHandle, int userIDIndex, byte[] secretKey)
public SecretKeyAuthenticationInfo(byte[] userIDHandle, int userIDIndex, byte[] secretKey, boolean hash) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
public byte[] getAuthType()
getAuthType
in class AuthenticationInfo
public byte[] authenticate(ChallengeResponse challenge, AbstractRequest request) throws HandleException
authenticate
in class AuthenticationInfo
HandleException
public byte[] getUserIdHandle()
getUserIdHandle
in class AuthenticationInfo
public int getUserIdIndex()
getUserIdIndex
in class AuthenticationInfo
public byte[] getSecretKey()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |