Home
last modified time | relevance | path

Searched refs:authPayload (Results 1 – 2 of 2) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeAuthDigitalSignPayloadTest.java111 IkeAuthDigitalSignPayload authPayload = in testSignAndEncode() local
121 ByteBuffer buffer = ByteBuffer.allocate(authPayload.getPayloadLength()); in testSignAndEncode()
122 authPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in testSignAndEncode()
175 IkeAuthDigitalSignPayload authPayload = in testGenerateSignature() local
185 assertEquals(SIGNATURE_ALGO_RSA_SHA2_256, authPayload.signatureAndHashAlgos); in testGenerateSignature()
186 assertArrayEquals(authPayload.signature, TestUtils.hexStringToByteArray(SIGNATURE)); in testGenerateSignature()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3114 byte[] psk, IkeAuthPayload authPayload, IkeIdPayload respIdPayload) in authenticatePsk() argument
3116 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()
3120 + authPayload.authMethod); in authenticatePsk()
3123 IkeAuthPskPayload pskPayload = (IkeAuthPskPayload) authPayload; in authenticatePsk()
3367 IkeAuthPayload authPayload = null; in validateIkeAuthResp() local
3384 authPayload = (IkeAuthPayload) payload; in validateIkeAuthResp()
3429 if (authPayload == null && mIkeSessionParams.hasIkeOption(IKE_OPTION_EAP_ONLY_AUTH)) { in validateIkeAuthResp()
3438 if (authPayload != null && mRespIdPayload != null) { in validateIkeAuthResp()
3439 authenticate(authPayload, mRespIdPayload, certPayloads); in validateIkeAuthResp()
3447 IkeAuthPayload authPayload, in authenticate() argument
[all …]