Lines Matching refs:key
2 OpenSSL private key functions
7 if (!@openssl_pkey_new()) die("skip cannot create private key");
11 echo "Creating private key\n";
17 die("failed to create private key");
21 $key_file_name = __DIR__ . '/001-tmp.key';
26 echo "Export key to file\n";
33 echo "Load key from file - array syntax\n";
38 die("failed to load key using array syntax");
43 echo "Load key using direct syntax\n";
48 die("failed to load key using direct syntax");
53 echo "Load key manually and use string syntax\n";
59 die("failed to load key using string syntax");
68 $key_file_name = __DIR__ . DIRECTORY_SEPARATOR . '001-tmp.key';
72 Creating private key
73 Export key to file
75 Load key from file - array syntax
78 Load key using direct syntax
81 Load key manually and use string syntax