Home
last modified time | relevance | path

Searched refs:encodeToByteBuffer (Results 1 – 25 of 42) sorted by relevance

12

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java768 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.Proposal
799 allTransforms[i].encodeToByteBuffer(i == allTransforms.length - 1, byteBuffer); in encodeToByteBuffer()
1158 protected abstract void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer); in encodeToByteBuffer() method in IkeSaPayload.Transform
1364 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.EncryptionTransform
1368 new KeyLengthAttribute(mSpecifiedKeyLength).encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
1454 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.PrfTransform
1536 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.IntegrityTransform
1617 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.DhGroupTransform
1704 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.EsnTransform
1749 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.UnrecognizedTransform
[all …]
DIkeTsPayload.java117 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeTsPayload
122 ts.encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
DIkeMessage.java304 .encodeToByteBuffer(ikePayloadList.get(i + 1).payloadType, byteBuffer); in encodePayloads()
308 .encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, byteBuffer); in encodePayloads()
318 ikeHeader.encodeToByteBuffer(outputBuffer, encodedIkeBody.length); in attachEncodedHeader()
682 ikeHeader.encodeToByteBuffer(outputBuffer, skPayload.getPayloadLength()); in encodeHeaderAndBody()
683 skPayload.encodeToByteBuffer(firstInnerPayload, outputBuffer); in encodeHeaderAndBody()
DIkeUnsupportedPayload.java46 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeUnsupportedPayload
DIkeVendorPayload.java52 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeVendorPayload
DIkeEapPayload.java69 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeEapPayload
DIkeCertReqPayload.java72 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeCertReqPayload
DIkeNoncePayload.java86 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeNoncePayload
DIkeEncryptedPayloadBody.java234 ikeHeader.encodeToByteBuffer(authenticatedSectionBuffer, encryptedPayloadLength); in generateOutboundChecksum()
311 ikeHeader.encodeToByteBuffer(authenticatedSectionBuffer, encryptedPayloadLength); in combinedModeEncrypt()
DIkeCertX509CertPayload.java77 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeCertX509CertPayload
DIkeDeletePayload.java148 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeDeletePayload
DIkeAuthPayload.java115 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeAuthPayload
DIkeSkPayload.java183 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSkPayload
DIkeSkfPayload.java148 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSkfPayload
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java214 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_AUTH, inputBuffer); in testConstructAndEncodeIpv4AddrIdPayload()
227 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_AUTH, inputBuffer); in testConstructAndEncodeIpv6AddrIdPayload()
240 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeFqdnIdPayload()
253 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeRfc822AddrIdPayload()
265 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeKeyIdPayload()
278 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeDerAsn1DnIdPayload()
DIkeDeletePayloadTest.java200 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeForIke()
212 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeWithSingleChildSa()
228 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeWithMultipleChildSas()
DIkeSaPayloadTest.java289 mAttributeKeyLength128.encodeToByteBuffer(byteBuffer); in testEncodeAttribute()
333 mEncrAesCbc128Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeEncryptionTransform()
377 mPrfHmacSha1Transform.encodeToByteBuffer(true, byteBuffer); in testEncodePrfTransform()
428 mIntegHmacSha1Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeIntegrityTransform()
463 mDhGroup1024Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeDhGroupTransform()
531 mEsnTransform.encodeToByteBuffer(true, byteBuffer); in testEncodeEsnTransform()
685 proposal.encodeToByteBuffer(true /*is the last*/, byteBuffer);
767 saPayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_KE, byteBuffer);
DIkeNoncePayloadTest.java43 payload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, byteBuffer); in testEncode()
DIkeEapPayloadTest.java53 ikeEapPayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, result); in testEncodeToByteBuffer()
DIkeCertReqPayloadTest.java66 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, byteBuffer); in testEncode()
DIkeSkPayloadTest.java103 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_ID_INITIATOR, buffer); in testEncode()
DIkeCertX509CertPayloadTest.java110 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in testEncodeX509Certificate()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapDataTest.java92 eapData.encodeToByteBuffer(b); in testEncodeToByteBuffer()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java143 ts.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIkeTrafficSelector()
346 mTsIpv6Three.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIpv6TrafficSelector()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/
DEapData.java166 public void encodeToByteBuffer(ByteBuffer b) { in encodeToByteBuffer() method in EapData

12