com.sshtools.j2ssh.authentication

Class SshMsgUserAuthPKOK


public class SshMsgUserAuthPKOK
extends SshMessage

Version:
$Revision: 1.22 $
Author:
$author$

Field Summary

static int
SSH_MSG_USERAUTH_PK_OK

Constructor Summary

SshMsgUserAuthPKOK()
Creates a new SshMsgUserAuthPKOK object.
SshMsgUserAuthPKOK(String algorithm, byte[] key)
Creates a new SshMsgUserAuthPKOK object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
String
getMessageName()

Methods inherited from class com.sshtools.j2ssh.transport.SshMessage

constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray

Field Details

SSH_MSG_USERAUTH_PK_OK

public static final int SSH_MSG_USERAUTH_PK_OK
Field Value:
60

Constructor Details

SshMsgUserAuthPKOK

public SshMsgUserAuthPKOK()
Creates a new SshMsgUserAuthPKOK object.

SshMsgUserAuthPKOK

public SshMsgUserAuthPKOK(String algorithm,
                          byte[] key)
Creates a new SshMsgUserAuthPKOK object.
Parameters:
algorithm -
key -

Method Details

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
            throws InvalidMessageException
Overrides:
constructByteArray in interface SshMessage
Parameters:
baw -

constructMessage

protected void constructMessage(ByteArrayReader bar)
            throws InvalidMessageException
Overrides:
constructMessage in interface SshMessage
Parameters:
bar -

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SshMessage
Returns:

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