パッケージ org.pcap4j.packet
クラス Ssh2KexInitPacket.Ssh2KexInitHeader
- java.lang.Object
-
- org.pcap4j.packet.AbstractPacket.AbstractHeader
-
- org.pcap4j.packet.Ssh2KexInitPacket.Ssh2KexInitHeader
-
- すべての実装されたインタフェース:
Serializable,Packet.Header
- 含まれているクラス:
- Ssh2KexInitPacket
public static final class Ssh2KexInitPacket.Ssh2KexInitHeader extends AbstractPacket.AbstractHeader
- バージョン:
- pcap4j 1.0.1
- 作成者:
- Kaito Yamada
- 関連項目:
- 直列化された形式
-
-
メソッドの概要
-
クラスから継承されたメソッド org.pcap4j.packet.AbstractPacket.AbstractHeader
buildHexString, buildRawData, getRawData, hashCode, length, toHexString, toString
-
-
-
-
メソッドの詳細
-
getMessageNumber
public Ssh2MessageNumber getMessageNumber()
- 戻り値:
- messageNumber
-
getCookie
public byte[] getCookie()
- 戻り値:
- cookie
-
getKexAlgorithms
public Ssh2NameList getKexAlgorithms()
- 戻り値:
- kexAlgorithms
-
getServerHostKeyAlgorithms
public Ssh2NameList getServerHostKeyAlgorithms()
- 戻り値:
- serverHostKeyAlgorithms
-
getEncryptionAlgorithmsClientToServer
public Ssh2NameList getEncryptionAlgorithmsClientToServer()
- 戻り値:
- encryptionAlgorithmsClientToServer
-
getEncryptionAlgorithmsServerToClient
public Ssh2NameList getEncryptionAlgorithmsServerToClient()
- 戻り値:
- encryptionAlgorithmsServerToClient
-
getMacAlgorithmsClientToServer
public Ssh2NameList getMacAlgorithmsClientToServer()
- 戻り値:
- macAlgorithmsClientToServer
-
getMacAlgorithmsServerToClient
public Ssh2NameList getMacAlgorithmsServerToClient()
- 戻り値:
- macAlgorithmsServerToClient
-
getCompressionAlgorithmsClientToServer
public Ssh2NameList getCompressionAlgorithmsClientToServer()
- 戻り値:
- compressionAlgorithmsClientToServer
-
getCompressionAlgorithmsServerToClient
public Ssh2NameList getCompressionAlgorithmsServerToClient()
- 戻り値:
- compressionAlgorithmsServerToClient
-
getLanguagesClientToServer
public Ssh2NameList getLanguagesClientToServer()
- 戻り値:
- languagesClientToServer
-
getLanguagesServerToClient
public Ssh2NameList getLanguagesServerToClient()
- 戻り値:
- languagesServerToClient
-
getFirstKexPacketFollows
public Ssh2Boolean getFirstKexPacketFollows()
- 戻り値:
- firstKexPacketFollows
-
getReserved
public int getReserved()
- 戻り値:
- reserved
-
getRawFields
protected List<byte[]> getRawFields()
クラスからコピーされた説明:AbstractPacket.AbstractHeaderReturns a list of byte arrays which represents this header's fields. This method is called bycalcLength()andbuildRawData().- 定義:
getRawFieldsクラス内AbstractPacket.AbstractHeader- 戻り値:
- a list of byte arrays which represents this header's fields
-
calcLength
protected int calcLength()
クラスからコピーされた説明:AbstractPacket.AbstractHeaderThis method calculates the valuelength()will return by adding up the lengths of byte arrays in the listgetRawFields()returns.- オーバーライド:
calcLengthクラス内AbstractPacket.AbstractHeader- 戻り値:
- a calculated length
-
buildString
protected String buildString()
クラスからコピーされた説明:AbstractPacket.AbstractHeaderThis method builds the valuetoString()will return.- オーバーライド:
buildStringクラス内AbstractPacket.AbstractHeader- 戻り値:
- a string representation of this object
-
equals
public boolean equals(Object obj)
クラスからコピーされた説明:AbstractPacket.AbstractHeaderIndicates whether some other object is "equal to" this one using return values ofgetRawData(). This method should be overridden so that it does more strict comparisons more efficiently.- オーバーライド:
equalsクラス内AbstractPacket.AbstractHeader
-
calcHashCode
protected int calcHashCode()
クラスからコピーされた説明:AbstractPacket.AbstractHeaderThis method builds the valuehashCode()will return using the byte arraygetRawData()returns. This method may be better to be overridden for performance reason.- オーバーライド:
calcHashCodeクラス内AbstractPacket.AbstractHeader- 戻り値:
- a calculated hash code value for the object
-
-