class

OpenSSL::PKey::DSA

Inherits OpenSSL::PKey < Reference < Object

DEPRECATED

Constructors

generate(bits : Int = 4096) : DSA
Source
new(dsa : LibCrypto::DSA, keyType : KeyFlag = KeyFlag::ALL)
Source
new(bits : Int = 4096)
Source

Class methods

parse_private_key(text : String, password = nil)
Source
parse_public_key(text : String, password = nil)
Source

Instance methods

finalize
Source
free
Source
freed
Source
keyType
Source
modulus_size
Source
pkey
Source
private_key!
Source
private_key?
Source
public_key!
Source
public_key?
Source
to_io(io : IO, cipher : LibCrypto::EVP_CIPHER | Nil = nil, password = nil)
Source
to_io(io : IO, key_flag : KeyFlag, cipher : LibCrypto::EVP_CIPHER | Nil = nil, password = nil)
Source
to_s(key_flag : KeyFlag, cipher : LibCrypto::EVP_CIPHER | Nil = nil, password = nil)
Source
to_s(cipher : LibCrypto::EVP_CIPHER | Nil = nil, password = nil)

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
to_unsafe
Source