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");
67 $key_file_name = __DIR__ . DIRECTORY_SEPARATOR . '001-tmp.key';
71 Creating private key
72 Export key to file
74 Load key from file - array syntax
77 Load key using direct syntax
80 Load key manually and use string syntax