aboutsummaryrefslogblamecommitdiffstats
path: root/examples/pkey.info
blob: 7369d2d7ba703d2e3fe1836439e956a7b64278b3 (plain) (tree)
1
2
3
4
5
6
7
8







                                                
local pkey = require"openssl.pkey"

local rsa = pkey.new{ type = "RSA", bits = 512 }

for k, v in pairs(rsa:getParameters()) do
	print(k, v)
end