|
|||||||||
| 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.PublicKeyAuthenticationInfo
public class PublicKeyAuthenticationInfo
| Constructor Summary | |
|---|---|
PublicKeyAuthenticationInfo(byte[] userIdHandle,
int userIdIndex,
java.security.PrivateKey privateKey)
|
|
| Method Summary | |
|---|---|
byte[] |
authenticate(ChallengeResponse challenge,
AbstractRequest request)
Sign the given nonce and requestDigest given as a challenge to the given request. |
byte[] |
getAuthType()
Get the identifier for the type of authentication performed. |
java.security.PrivateKey |
getPrivateKey()
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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PublicKeyAuthenticationInfo(byte[] userIdHandle,
int userIdIndex,
java.security.PrivateKey privateKey)
| Method Detail |
|---|
public byte[] getAuthType()
getAuthType in class AuthenticationInfo
public byte[] authenticate(ChallengeResponse challenge,
AbstractRequest request)
throws HandleException
authenticate in class AuthenticationInfoHandleExceptionpublic byte[] getUserIdHandle()
getUserIdHandle in class AuthenticationInfopublic int getUserIdIndex()
getUserIdIndex in class AuthenticationInfopublic java.security.PrivateKey getPrivateKey()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||