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.java700 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.Proposal
731 allTransforms[i].encodeToByteBuffer(i == allTransforms.length - 1, byteBuffer); in encodeToByteBuffer()
1090 protected abstract void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer); in encodeToByteBuffer() method in IkeSaPayload.Transform
1273 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.EncryptionTransform
1277 new KeyLengthAttribute(mSpecifiedKeyLength).encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
1363 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.PrfTransform
1444 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.IntegrityTransform
1525 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.DhGroupTransform
1612 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.EsnTransform
1657 protected void encodeToByteBuffer(boolean isLast, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeSaPayload.UnrecognizedTransform
[all …]
DIkeMessage.java259 .encodeToByteBuffer(ikePayloadList.get(i + 1).payloadType, byteBuffer); in encodePayloads()
263 .encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, byteBuffer); in encodePayloads()
273 ikeHeader.encodeToByteBuffer(outputBuffer, encodedIkeBody.length); in attachEncodedHeader()
539 ikeHeader.encodeToByteBuffer(outputBuffer, skPayload.getPayloadLength()); in encodeHeaderAndBody()
540 skPayload.encodeToByteBuffer(firstInnerPayload, outputBuffer); in encodeHeaderAndBody()
DIkeTsPayload.java118 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeTsPayload
123 ts.encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()
DIkeEncryptedPayloadBody.java234 ikeHeader.encodeToByteBuffer(authenticatedSectionBuffer, encryptedPayloadLength); in generateOutboundChecksum()
311 ikeHeader.encodeToByteBuffer(authenticatedSectionBuffer, encryptedPayloadLength); in combinedModeEncrypt()
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
DIkeCertX509CertPayload.java78 protected void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer) { in encodeToByteBuffer() method in IkeCertX509CertPayload
DIkeDeletePayload.java149 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
DIkePayload.java237 protected abstract void encodeToByteBuffer(@PayloadType int nextPayload, ByteBuffer byteBuffer); in encodeToByteBuffer() method in IkePayload
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeIdPayloadTest.java212 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_AUTH, inputBuffer); in testConstructAndEncodeIpv4AddrIdPayload()
225 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_AUTH, inputBuffer); in testConstructAndEncodeIpv6AddrIdPayload()
238 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeFqdnIdPayload()
251 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeRfc822AddrIdPayload()
263 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeKeyIdPayload()
276 payload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_CERT, inputBuffer); in testConstructAndEncodeDerAsn1DnIdPayload()
DIkeSaPayloadTest.java280 mAttributeKeyLength128.encodeToByteBuffer(byteBuffer); in testEncodeAttribute()
324 mEncrAesCbc128Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeEncryptionTransform()
368 mPrfHmacSha1Transform.encodeToByteBuffer(true, byteBuffer); in testEncodePrfTransform()
419 mIntegHmacSha1Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeIntegrityTransform()
454 mDhGroup1024Transform.encodeToByteBuffer(false, byteBuffer); in testEncodeDhGroupTransform()
522 mEsnTransform.encodeToByteBuffer(true, byteBuffer); in testEncodeEsnTransform()
676 proposal.encodeToByteBuffer(true /*is the last*/, byteBuffer);
758 saPayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_KE, byteBuffer);
DIkeDeletePayloadTest.java199 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeForIke()
211 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeWithSingleChildSa()
227 deletePayload.encodeToByteBuffer(IkePayload.PAYLOAD_TYPE_NO_NEXT, bb); in testEncodeWithMultipleChildSas()
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.java109 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in testEncodeX509Certificate()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeTrafficSelectorTest.java142 ts.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIkeTrafficSelector()
329 mTsIpv6Three.encodeToByteBuffer(byteBuffer); in testBuildAndEncodeIpv6TrafficSelector()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/
DEapDataTest.java92 eapData.encodeToByteBuffer(b); in testEncodeToByteBuffer()

12