Searched refs:key_usage (Results 1 – 8 of 8) sorted by relevance
125 unsigned char key_usage; /* key usage flags */ member192 opt.key_usage = DFL_KEY_USAGE; in main()276 opt.key_usage |= MBEDTLS_X509_KU_DIGITAL_SIGNATURE; in main()278 opt.key_usage |= MBEDTLS_X509_KU_NON_REPUDIATION; in main()280 opt.key_usage |= MBEDTLS_X509_KU_KEY_ENCIPHERMENT; in main()282 opt.key_usage |= MBEDTLS_X509_KU_DATA_ENCIPHERMENT; in main()284 opt.key_usage |= MBEDTLS_X509_KU_KEY_AGREEMENT; in main()286 opt.key_usage |= MBEDTLS_X509_KU_KEY_CERT_SIGN; in main()288 opt.key_usage |= MBEDTLS_X509_KU_CRL_SIGN; in main()328 if( opt.key_usage ) in main()[all …]
194 unsigned char key_usage; /* key usage flags */ member287 opt.key_usage = DFL_KEY_USAGE; in main()428 opt.key_usage |= MBEDTLS_X509_KU_DIGITAL_SIGNATURE; in main()430 opt.key_usage |= MBEDTLS_X509_KU_NON_REPUDIATION; in main()432 opt.key_usage |= MBEDTLS_X509_KU_KEY_ENCIPHERMENT; in main()434 opt.key_usage |= MBEDTLS_X509_KU_DATA_ENCIPHERMENT; in main()436 opt.key_usage |= MBEDTLS_X509_KU_KEY_AGREEMENT; in main()438 opt.key_usage |= MBEDTLS_X509_KU_KEY_CERT_SIGN; in main()440 opt.key_usage |= MBEDTLS_X509_KU_CRL_SIGN; in main()750 opt.key_usage != 0 ) in main()[all …]
84 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage ) in mbedtls_x509write_csr_set_key_usage() argument92 if( ( ret = mbedtls_asn1_write_bitstring( &c, buf, &key_usage, 7 ) ) != 4 ) in mbedtls_x509write_csr_set_key_usage()
222 unsigned int key_usage ) in mbedtls_x509write_crt_set_key_usage() argument229 if( ( key_usage & ~0xfe ) != 0 ) in mbedtls_x509write_crt_set_key_usage()233 ku = (unsigned char) key_usage; in mbedtls_x509write_crt_set_key_usage()
545 unsigned int *key_usage) in x509_get_key_usage() argument559 *key_usage = 0; in x509_get_key_usage()562 *key_usage |= (unsigned int) bs.p[i] << (8*i); in x509_get_key_usage()799 &crt->key_usage ) ) != 0 ) in x509_get_crt_ext()1556 if( key_usage & code ) \1560 unsigned int key_usage ) in x509_info_key_usage() argument1789 if( ( ret = x509_info_key_usage( &p, &n, crt->key_usage ) ) != 0 ) in mbedtls_x509_crt_info()1879 if( ( ( crt->key_usage & ~may_mask ) & usage_must ) != usage_must ) in mbedtls_x509_crt_check_key_usage()1884 if( ( ( crt->key_usage & may_mask ) | usage_may ) != usage_may ) in mbedtls_x509_crt_check_key_usage()
82 unsigned int key_usage; /**< Optional key usage extension value: See the values in x509.h */ member731 unsigned int key_usage );
209 int mbedtls_x509write_csr_set_key_usage( mbedtls_x509write_csr *ctx, unsigned char key_usage );
1552 * x509_crt.key_usage changed from unsigned char to unsigned int.2157 * Certificate Request (CSR) generation with extensions (key_usage,
Completed in 17 milliseconds