public final class IpV4Rfc791SecurityOption extends Object implements IpV4Packet.IpV4Option
Modifier and Type | Class and Description |
---|---|
static class |
IpV4Rfc791SecurityOption.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IpV4Rfc791SecurityOption.Builder |
getBuilder() |
IpV4SecurityOptionCompartments |
getCompartments() |
IpV4SecurityOptionHandlingRestrictions |
getHandlingRestrictions() |
byte |
getLength() |
int |
getLengthAsInt() |
byte[] |
getRawData() |
IpV4SecurityOptionSecurity |
getSecurity() |
IpV4SecurityOptionTransmissionControlCode |
getTcc() |
IpV4OptionType |
getType() |
int |
hashCode() |
int |
length() |
static IpV4Rfc791SecurityOption |
newInstance(byte[] rawData) |
String |
toString() |
public static IpV4Rfc791SecurityOption newInstance(byte[] rawData) throws IllegalRawDataException
rawData
- IllegalRawDataException
NullPointerException
- if the rawData argument is null.IllegalArgumentException
- if the rawData argument is empty.public IpV4OptionType getType()
getType
in interface IpV4Packet.IpV4Option
public byte getLength()
public int getLengthAsInt()
public IpV4SecurityOptionSecurity getSecurity()
public IpV4SecurityOptionCompartments getCompartments()
public IpV4SecurityOptionHandlingRestrictions getHandlingRestrictions()
public IpV4SecurityOptionTransmissionControlCode getTcc()
public int length()
length
in interface IpV4Packet.IpV4Option
public byte[] getRawData()
getRawData
in interface IpV4Packet.IpV4Option
public IpV4Rfc791SecurityOption.Builder getBuilder()
Copyright © 2014. All Rights Reserved.