Flowdock
method

new

Importance_1
v1_9_1_378 - Show latest stable - 0 notes - Class: DSA
new(p1 = v1, p2 = v2) public

Parameters

  • size is an integer representing the desired key size.

  • string contains a DER or PEM encoded key.

  • pass is a string that contains a optional password.

Examples

  • DSA.new -> dsa

  • DSA.new(1024) -> dsa

  • DSA.new(File.read(‘dsa.pem’)) -> dsa

  • DSA.new(File.read(‘dsa.pem’), ‘mypassword’) -> dsa

Show source
Register or log in to add new notes.