Lines Matching refs:key
2 OpenSSL private key functions
6 if (!@openssl_pkey_new()) die("skip cannot create private key");
10 echo "Creating private key\n";
16 die("failed to create private key");
20 $key_file_name = __DIR__ . '/001-tmp.key';
25 echo "Export key to file\n";
32 echo "Load key from file - array syntax\n";
37 die("failed to load key using array syntax");
42 echo "Load key using direct syntax\n";
47 die("failed to load key using direct syntax");
52 echo "Load key manually and use string syntax\n";
58 die("failed to load key using string syntax");
66 Creating private key
67 Export key to file
69 Load key from file - array syntax
70 Load key using direct syntax
71 Load key manually and use string syntax
75 $key_file_name = __DIR__ . DIRECTORY_SEPARATOR . '001-tmp.key';