File: pkey.info

package info (click to toggle)
lua-luaossl 20220711-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,364 kB
  • sloc: ansic: 12,795; sh: 1,070; makefile: 19
file content (8 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (3)
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