com.sshtools.daemon.authentication

Class AuthorizationFileVerification

Implemented Interfaces:
PublicKeyVerification

public class AuthorizationFileVerification
extends java.lang.Object
implements PublicKeyVerification

Version:
$Revision: 1.14 $
Author:
$author$

Method Summary

boolean
acceptKey(String username, String algorithm, byte[] encoded)
boolean
verifyKeySignature(String username, String algorithm, byte[] encoded, String service, byte[] sessionId, byte[] signature)

Method Details

acceptKey

public boolean acceptKey(String username,
                         String algorithm,
                         byte[] encoded)
            throws IOException
Specified by:
acceptKey in interface PublicKeyVerification
Parameters:
username -
algorithm -
encoded -
Returns:

verifyKeySignature

public boolean verifyKeySignature(String username,
                                  String algorithm,
                                  byte[] encoded,
                                  String service,
                                  byte[] sessionId,
                                  byte[] signature)
            throws IOException
Specified by:
verifyKeySignature in interface PublicKeyVerification
Parameters:
username -
algorithm -
encoded -
service -
sessionId -
signature -
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.