• Home
  • Raw
  • Download

Lines Matching refs:cert

123 g_test_tls_certificate_verify (GTlsCertificate     *cert,  in G_DEFINE_TYPE_WITH_CODE()
137 GTestTlsCertificate *cert = (GTestTlsCertificate *) object; in g_test_tls_certificate_get_property() local
142 g_value_set_string (value, cert->cert_pem); in g_test_tls_certificate_get_property()
145 g_value_set_string (value, cert->key_pem); in g_test_tls_certificate_get_property()
148 g_value_set_object (value, cert->issuer); in g_test_tls_certificate_get_property()
153 if (g_strcmp0 (cert->pkcs11_uri, "unsupported") != 0) in g_test_tls_certificate_get_property()
154 g_value_set_string (value, cert->pkcs11_uri); in g_test_tls_certificate_get_property()
157 g_value_set_string (value, cert->private_key_pkcs11_uri); in g_test_tls_certificate_get_property()
171 GTestTlsCertificate *cert = (GTestTlsCertificate *) object; in g_test_tls_certificate_set_property() local
176 cert->cert_pem = g_value_dup_string (value); in g_test_tls_certificate_set_property()
179 cert->key_pem = g_value_dup_string (value); in g_test_tls_certificate_set_property()
182 cert->issuer = g_value_dup_object (value); in g_test_tls_certificate_set_property()
185 cert->pkcs11_uri = g_value_dup_string (value); in g_test_tls_certificate_set_property()
188 cert->private_key_pkcs11_uri = g_value_dup_string (value); in g_test_tls_certificate_set_property()
203 GTestTlsCertificate *cert = (GTestTlsCertificate *) object; in g_test_tls_certificate_finalize() local
205 g_free (cert->cert_pem); in g_test_tls_certificate_finalize()
206 g_free (cert->key_pem); in g_test_tls_certificate_finalize()
207 g_free (cert->pkcs11_uri); in g_test_tls_certificate_finalize()
208 g_free (cert->private_key_pkcs11_uri); in g_test_tls_certificate_finalize()
209 g_clear_object (&cert->issuer); in g_test_tls_certificate_finalize()
375 g_test_tls_connection_get_private_key_pem (GTlsCertificate *cert) in g_test_tls_connection_get_private_key_pem() argument
377 return ((GTestTlsCertificate *)cert)->key_pem; in g_test_tls_connection_get_private_key_pem()