Searched refs:tsBytes (Results 1 – 3 of 3) sorted by relevance
101 byte[] tsBytes = in testDecodeIkeTrafficSelectors()104 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectors()181 byte[] tsBytes = TestUtils.hexStringToByteArray(TS_IPV4_ONE_HEX_STRING); in testDecodeIkeTrafficSelectorWithInvalidTsType()182 tsBytes[TS_TYPE_OFFSET] = -1; in testDecodeIkeTrafficSelectorWithInvalidTsType()185 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithInvalidTsType()195 byte[] tsBytes = TestUtils.hexStringToByteArray(TS_IPV4_ONE_HEX_STRING); in testDecodeIkeTrafficSelectorWithInvalidIpProtocol()196 tsBytes[PROTOCOL_ID_OFFSET] = -1; in testDecodeIkeTrafficSelectorWithInvalidIpProtocol()199 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithInvalidIpProtocol()209 byte[] tsBytes = TestUtils.hexStringToByteArray(TS_IPV4_ONE_HEX_STRING + "FFFF"); in testDecodeIkeTrafficSelectorWithExpectedTrailing()212 IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in testDecodeIkeTrafficSelectorWithExpectedTrailing()[all …]
62 byte[] tsBytes = new byte[inputBuffer.remaining()]; in IkeTsPayload()63 inputBuffer.get(tsBytes); in IkeTsPayload()64 trafficSelectors = IkeTrafficSelector.decodeIkeTrafficSelectors(numTs, tsBytes); in IkeTsPayload()
236 public static IkeTrafficSelector[] decodeIkeTrafficSelectors(int numTs, byte[] tsBytes) in decodeIkeTrafficSelectors() argument239 ByteBuffer inputBuffer = ByteBuffer.wrap(tsBytes); in decodeIkeTrafficSelectors()