com.sshtools.daemon.authentication
Class AuthorizationFileVerification
java.lang.Object
com.sshtools.daemon.authentication.AuthorizationFileVerification
- All Implemented Interfaces:
- PublicKeyVerification
public class AuthorizationFileVerification
- extends java.lang.Object
- implements PublicKeyVerification
- Version:
- $Revision: 1.14 $
- Author:
- $author$
Method Summary |
boolean |
acceptKey(java.lang.String username,
java.lang.String algorithm,
byte[] encoded)
|
boolean |
verifyKeySignature(java.lang.String username,
java.lang.String algorithm,
byte[] encoded,
java.lang.String service,
byte[] sessionId,
byte[] signature)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationFileVerification
public AuthorizationFileVerification()
verifyKeySignature
public boolean verifyKeySignature(java.lang.String username,
java.lang.String algorithm,
byte[] encoded,
java.lang.String service,
byte[] sessionId,
byte[] signature)
throws java.io.IOException
- Specified by:
verifyKeySignature
in interface PublicKeyVerification
- Parameters:
username
- algorithm
- encoded
- service
- sessionId
- signature
-
- Returns:
-
- Throws:
java.io.IOException
acceptKey
public boolean acceptKey(java.lang.String username,
java.lang.String algorithm,
byte[] encoded)
throws java.io.IOException
- Specified by:
acceptKey
in interface PublicKeyVerification
- Parameters:
username
- algorithm
- encoded
-
- Returns:
-
- Throws:
java.io.IOException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.