Lines Matching refs:akid
102 lws_mbedtls_x509_authority akid;
198 memset(&akid, 0, sizeof(akid));
201 lws_x509_get_crt_ext(x509, &skid, &akid);
202 if (akid.keyIdentifier.MBEDTLS_PRIVATE_V30_ONLY(tag) != MBEDTLS_ASN1_OCTET_STRING)
204 buf->ns.len = (int)akid.keyIdentifier.MBEDTLS_PRIVATE_V30_ONLY(len);
205 if (!akid.keyIdentifier.MBEDTLS_PRIVATE_V30_ONLY(p) ||
208 memcpy(buf->ns.name, akid.keyIdentifier.MBEDTLS_PRIVATE_V30_ONLY(p), (size_t)buf->ns.len);
214 memset(&akid, 0, sizeof(akid));
217 lws_x509_get_crt_ext(x509, &skid, &akid);
219 ip = &akid.authorityCertIssuer;
224 if (akid.keyIdentifier.MBEDTLS_PRIVATE_V30_ONLY(tag) != MBEDTLS_ASN1_OCTET_STRING ||
240 memset(&akid, 0, sizeof(akid));
243 lws_x509_get_crt_ext(x509, &skid, &akid);
245 if (akid.authorityCertSerialNumber.MBEDTLS_PRIVATE_V30_ONLY(tag) != MBEDTLS_ASN1_OCTET_STRING)
247 buf->ns.len = (int)akid.authorityCertSerialNumber.MBEDTLS_PRIVATE_V30_ONLY(len);
248 if (!akid.authorityCertSerialNumber.MBEDTLS_PRIVATE_V30_ONLY(p) ||
251 memcpy(buf->ns.name, akid.authorityCertSerialNumber.
257 memset(&akid, 0, sizeof(akid));
260 lws_x509_get_crt_ext(x509, &skid, &akid);