com.sshtools.daemon.authentication

Interface PublicKeyVerification

Known Implementing Classes:
AuthorizationFileVerification

public interface PublicKeyVerification

Version:
$Revision: 1.13 $
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
Parameters:
username -
algorithm -
encoded -
Returns:

verifyKeySignature

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

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