Home
last modified time | relevance | path

Searched refs:cert_dn (Results 1 – 25 of 30) sorted by relevance

12

/dports/www/mod_perl2/mod_perl-2.0.11/Apache-Test/lib/Apache/
H A DTestSSLCA.pm101 my $cert_dn = {
135 for my $key (keys %$cert_dn) {
137 my $val = $$cert_dn{$key};
139 $cert_dn->{$name} = { %$val }; #copy
140 $cert_dn->{$name}->{OU} =~ s/rsa/dsa/;
148 sub cert_dn { subroutine
149 $cert_dn = shift if @_;
150 $cert_dn;
159 my $default_dn = $cert_dn->{$name};
478 my @names = keys %$cert_dn;
[all …]
/dports/lang/micropython/axtls-531cab9/ssl/
H A Dx509.c101 asn1_name(cert, &offset, x509_ctx->cert_dn) || in x509_new()
345 free(x509_ctx->cert_dn[i]); in x509_free()
655 printf("%s\n", cert->cert_dn[X509_COMMON_NAME] ? in x509_print()
659 printf("%s\n", cert->cert_dn[X509_ORGANIZATION] ? in x509_print()
662 if (cert->cert_dn[X509_ORGANIZATIONAL_UNIT]) in x509_print()
668 if (cert->cert_dn[X509_LOCATION]) in x509_print()
671 printf("%s\n", cert->cert_dn[X509_LOCATION]); in x509_print()
674 if (cert->cert_dn[X509_COUNTRY]) in x509_print()
677 printf("%s\n", cert->cert_dn[X509_COUNTRY]); in x509_print()
680 if (cert->cert_dn[X509_STATE]) in x509_print()
[all …]
H A Dtls1.c471 return ssl->x509_ctx->cert_dn[X509_COMMON_NAME]; in ssl_get_cert_dn()
474 return ssl->x509_ctx->cert_dn[X509_ORGANIZATION]; in ssl_get_cert_dn()
477 return ssl->x509_ctx->cert_dn[X509_ORGANIZATIONAL_UNIT]; in ssl_get_cert_dn()
480 return ssl->x509_ctx->cert_dn[X509_LOCATION]; in ssl_get_cert_dn()
483 return ssl->x509_ctx->cert_dn[X509_COUNTRY]; in ssl_get_cert_dn()
486 return ssl->x509_ctx->cert_dn[X509_STATE]; in ssl_get_cert_dn()
2085 if (asn1_compare_dn(chain->ca_cert_dn, certs[i]->cert_dn) == 0) in process_certificate()
H A Dcrypto_misc.h91 char *cert_dn[X509_NUM_DN_TYPES]; member
/dports/lang/gauche/Gauche-0.9.10/ext/tls/axTLS/ssl/
H A Dx509.c101 asn1_name(cert, &offset, x509_ctx->cert_dn) || in x509_new()
345 free(x509_ctx->cert_dn[i]); in x509_free()
655 printf("%s\n", cert->cert_dn[X509_COMMON_NAME] ? in x509_print()
659 printf("%s\n", cert->cert_dn[X509_ORGANIZATION] ? in x509_print()
662 if (cert->cert_dn[X509_ORGANIZATIONAL_UNIT]) in x509_print()
668 if (cert->cert_dn[X509_LOCATION]) in x509_print()
671 printf("%s\n", cert->cert_dn[X509_LOCATION]); in x509_print()
674 if (cert->cert_dn[X509_COUNTRY]) in x509_print()
677 printf("%s\n", cert->cert_dn[X509_COUNTRY]); in x509_print()
680 if (cert->cert_dn[X509_STATE]) in x509_print()
[all …]
H A Dtls1.c469 return ssl->x509_ctx->cert_dn[X509_COMMON_NAME]; in ssl_get_cert_dn()
472 return ssl->x509_ctx->cert_dn[X509_ORGANIZATION]; in ssl_get_cert_dn()
475 return ssl->x509_ctx->cert_dn[X509_ORGANIZATIONAL_UNIT]; in ssl_get_cert_dn()
478 return ssl->x509_ctx->cert_dn[X509_LOCATION]; in ssl_get_cert_dn()
481 return ssl->x509_ctx->cert_dn[X509_COUNTRY]; in ssl_get_cert_dn()
484 return ssl->x509_ctx->cert_dn[X509_STATE]; in ssl_get_cert_dn()
2076 if (asn1_compare_dn(chain->ca_cert_dn, certs[i]->cert_dn) == 0) in process_certificate()
H A Dcrypto_misc.h91 char *cert_dn[X509_NUM_DN_TYPES]; member
/dports/graphics/argyllcms/Argyll_V1.9.2/ccast/axTLS/
H A Dx509.c114 asn1_name(cert, &offset, x509_ctx->cert_dn) || in x509_new()
237 free(x509_ctx->cert_dn[i]); in x509_free()
337 if (asn1_compare_dn(cert->ca_cert_dn, cert->cert_dn) == 0) in x509_verify()
372 ca_cert_ctx->cert[i]->cert_dn) == 0) in x509_verify()
394 else if (asn1_compare_dn(cert->ca_cert_dn, next_cert->cert_dn) != 0) in x509_verify()
457 printf("%s\n", cert->cert_dn[X509_COMMON_NAME] ? in x509_print()
458 cert->cert_dn[X509_COMMON_NAME] : not_part_of_cert); in x509_print()
461 printf("%s\n", cert->cert_dn[X509_ORGANIZATION] ? in x509_print()
462 cert->cert_dn[X509_ORGANIZATION] : not_part_of_cert); in x509_print()
465 printf("%s\n", cert->cert_dn[X509_ORGANIZATIONAL_UNIT] ? in x509_print()
[all …]
H A Dcrypto_misc.h70 char *cert_dn[X509_NUM_DN_TYPES]; member
/dports/security/axTLS/axTLS/ssl/
H A Dx509.c114 asn1_name(cert, &offset, x509_ctx->cert_dn) || in x509_new()
237 free(x509_ctx->cert_dn[i]); in x509_free()
336 if (asn1_compare_dn(cert->ca_cert_dn, cert->cert_dn) == 0) in x509_verify()
371 ca_cert_ctx->cert[i]->cert_dn) == 0) in x509_verify()
393 else if (asn1_compare_dn(cert->ca_cert_dn, next_cert->cert_dn) != 0) in x509_verify()
456 printf("%s\n", cert->cert_dn[X509_COMMON_NAME] ? in x509_print()
457 cert->cert_dn[X509_COMMON_NAME] : not_part_of_cert); in x509_print()
460 printf("%s\n", cert->cert_dn[X509_ORGANIZATION] ? in x509_print()
461 cert->cert_dn[X509_ORGANIZATION] : not_part_of_cert); in x509_print()
464 printf("%s\n", cert->cert_dn[X509_ORGANIZATIONAL_UNIT] ? in x509_print()
[all …]
H A Dcrypto_misc.h70 char *cert_dn[X509_NUM_DN_TYPES]; member
/dports/multimedia/kodi/xbmc-19.3-Matrix/lib/libUPnP/Neptune/ThirdParty/axTLS/ssl/
H A Dx509.c114 asn1_name(cert, &offset, x509_ctx->cert_dn) || in x509_new()
259 free(x509_ctx->cert_dn[i]); in x509_free()
358 if (asn1_compare_dn(cert->ca_cert_dn, cert->cert_dn) == 0) in x509_verify()
394 if (asn1_compare_dn(cert->ca_cert_dn, ca_cert->cert_dn) == 0) { in x509_verify()
412 else if (asn1_compare_dn(cert->ca_cert_dn, next_cert->cert_dn) != 0) in x509_verify()
475 printf("%s\n", cert->cert_dn[X509_COMMON_NAME] ? in x509_print()
476 cert->cert_dn[X509_COMMON_NAME] : not_part_of_cert); in x509_print()
479 printf("%s\n", cert->cert_dn[X509_ORGANIZATION] ? in x509_print()
480 cert->cert_dn[X509_ORGANIZATION] : not_part_of_cert); in x509_print()
483 printf("%s\n", cert->cert_dn[X509_ORGANIZATIONAL_UNIT] ? in x509_print()
[all …]
H A Dcrypto_misc.h71 char *cert_dn[X509_NUM_DN_TYPES]; member
H A Dtls1.c490 if (asn1_compare_dn(cert->ca_cert_dn, ca_cert->cert_dn) == 0) { in ssl_get_peer_cert()
509 return cert->cert_dn[X509_COMMON_NAME]; in ssl_cert_get_dn()
512 return cert->cert_dn[X509_ORGANIZATION]; in ssl_cert_get_dn()
515 return cert->cert_dn[X509_ORGANIZATIONAL_UNIT]; in ssl_cert_get_dn()
/dports/security/p5-openxpki-i18n/openxpki-3.16.1/core/server/t/18_ldap/
H A D01.t2108 foreach my $cert_dn ( keys %cert_dns ) {
111 diag( "--- DN --- ". $cert_dn . "\n");
114 my $suffix = $utils->get_suffix( $cert_dn , $suffixes );
122 $suffixes->[$cert_dns{$cert_dn}],
130 is(-1,$cert_dns{$cert_dn},'The suffix does not match anything');
/dports/security/p5-openxpki/openxpki-3.16.1/core/server/t/18_ldap/
H A D01.t2108 foreach my $cert_dn ( keys %cert_dns ) {
111 diag( "--- DN --- ". $cert_dn . "\n");
114 my $suffix = $utils->get_suffix( $cert_dn , $suffixes );
122 $suffixes->[$cert_dns{$cert_dn}],
130 is(-1,$cert_dns{$cert_dn},'The suffix does not match anything');
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/security/impl/
H A DSESecurityManagerBC.java93 String cert_dn, in createSelfSignedCertificate() argument
111 X509Name issuer_dn = new X509Name(true,cert_dn); in createSelfSignedCertificate()
115 X509Name subject_dn = new X509Name(true,cert_dn); in createSelfSignedCertificate()
/dports/security/gnomint/gnomint-1.2.1/src/
H A Dimport.c37 gint __import_cert (gnutls_x509_crt_t *cert, gchar ** cert_dn, guint64 *id);
140 gint __import_cert (gnutls_x509_crt_t *cert, gchar **cert_dn, guint64 *id) in __import_cert() argument
175 if (cert_dn) { in __import_cert()
181 *cert_dn = g_strdup (aux); in __import_cert()
321 gint import_certlist (guchar *file_contents, gsize file_contents_size, gchar **cert_dn, guint64 *id) in import_certlist() argument
348 if (cert_dn && *cert_dn) { in import_certlist()
349 g_free (*cert_dn); in import_certlist()
350 *cert_dn = NULL; in import_certlist()
352 if (__import_cert (&certs[i], cert_dn, id) > 0) in import_certlist()
367 result = __import_cert (&cert, cert_dn, id); in import_certlist()
H A Dimport.h31 gint import_certlist (guchar *file_contents, gsize file_contents_size, gchar **cert_dn, guint64 *id…
H A Dpkey_manage.c44 gchar * __pkey_manage_ask_external_file_password (const gchar *cert_dn);
59 gchar * __pkey_manage_ask_external_file_password (const gchar *cert_dn) in __pkey_manage_ask_external_file_password() argument
82 "Please, insert the password corresponding to this file."), cert_dn); in __pkey_manage_ask_external_file_password()
120 gchar * __pkey_manage_ask_external_file_password (const gchar *cert_dn) in __pkey_manage_ask_external_file_password() argument
126 …f (_("The file that holds private key for certificate\n'%s' is password-protected.\n\n"), cert_dn); in __pkey_manage_ask_external_file_password()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/core3/security/
H A DSESecurityManager.java146 String cert_dn, in createSelfSignedCertificate() argument
151 …return( SESecurityManagerImpl.getSingleton().createSelfSignedCertificate( alias, cert_dn, strength… in createSelfSignedCertificate()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/pluginsimpl/local/utils/security/
H A DSESecurityManagerImpl.java204 String cert_dn, in createSelfSignedCertificate() argument
209 return( SESecurityManager.createSelfSignedCertificate(alias, cert_dn, strength )); in createSelfSignedCertificate()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/plugins/utils/security/
H A DSESecurityManager.java110 String cert_dn, in createSelfSignedCertificate() argument
/dports/sysutils/syslinux/syslinux-6.03/gpxe/src/crypto/axtls/
H A Dcrypto.h227 char *cert_dn[X509_NUM_DN_TYPES]; member
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dunit_x509.cpp1442 Botan::X509_DN cert_dn = cert.subject_dn(); in test_custom_dn_attr() local
1444 result.test_eq("Expected number of DN entries", cert_dn.dn_info().size(), 2); in test_custom_dn_attr()
1446 Botan::ASN1_String cert_val1 = cert_dn.get_first_attribute(attr1); in test_custom_dn_attr()
1447 Botan::ASN1_String cert_val2 = cert_dn.get_first_attribute(attr2); in test_custom_dn_attr()

12