Home
last modified time | relevance | path

Searched refs:certPayload (Results 1 – 4 of 4) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertReqPayloadTest.java48 IkeCertReqPayload certPayload = (IkeCertReqPayload) pair.first; in testDecode() local
49 assertEquals(CERT_ENCODING_TYPE, certPayload.certEncodingType); in testDecode()
51 CA_SUBJECT_PUBLIC_KEY_INFO_HASH, certPayload.caSubjectPublicKeyInforHashes); in testDecode()
63 IkeCertReqPayload certPayload = (IkeCertReqPayload) pair.first; in testEncode() local
66 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, byteBuffer); in testEncode()
69 assertEquals(CERT_REQ_PAYLOAD.length, certPayload.getPayloadLength()); in testEncode()
DIkeCertX509CertPayloadTest.java106 IkeCertX509CertPayload certPayload = new IkeCertX509CertPayload(cert); in testEncodeX509Certificate() local
108 ByteBuffer buffer = ByteBuffer.allocate(certPayload.getPayloadLength()); in testEncodeX509Certificate()
109 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, buffer); in testEncodeX509Certificate()
120 IkeCertPayload certPayload = IkeCertPayload.getIkeCertPayload(false, inputPacket); in testDecodeX509Certificate() local
122 assertTrue(certPayload instanceof IkeCertX509CertPayload); in testDecodeX509Certificate()
124 assertEquals(expectedCert, ((IkeCertX509CertPayload) certPayload).certificate); in testDecodeX509Certificate()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java3492 for (IkeCertPayload certPayload : certPayloads) { in authenticateDigitalSignature()
3493 X509Certificate cert = ((IkeCertX509CertPayload) certPayload).certificate; in authenticateDigitalSignature()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java2685 IkeCertX509CertPayload certPayload = new IkeCertX509CertPayload(mServerEndCertificate); in testCreateIkeLocalIkeAuthPreEap() local
2686 authRelatedPayloads.add(certPayload); in testCreateIkeLocalIkeAuthPreEap()