Searched refs:certPayload (Results 1 – 4 of 4) sorted by relevance
48 IkeCertReqPayload certPayload = (IkeCertReqPayload) pair.first; in testDecode() local49 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() local66 certPayload.encodeToByteBuffer(NEXT_PAYLOAD_TYPE, byteBuffer); in testEncode()69 assertEquals(CERT_REQ_PAYLOAD.length, certPayload.getPayloadLength()); in testEncode()
106 IkeCertX509CertPayload certPayload = new IkeCertX509CertPayload(cert); in testEncodeX509Certificate() local108 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() local122 assertTrue(certPayload instanceof IkeCertX509CertPayload); in testDecodeX509Certificate()124 assertEquals(expectedCert, ((IkeCertX509CertPayload) certPayload).certificate); in testDecodeX509Certificate()
3492 for (IkeCertPayload certPayload : certPayloads) { in authenticateDigitalSignature()3493 X509Certificate cert = ((IkeCertX509CertPayload) certPayload).certificate; in authenticateDigitalSignature()
2685 IkeCertX509CertPayload certPayload = new IkeCertX509CertPayload(mServerEndCertificate); in testCreateIkeLocalIkeAuthPreEap() local2686 authRelatedPayloads.add(certPayload); in testCreateIkeLocalIkeAuthPreEap()