class OpenSSL::PKey::DSA
- OpenSSL::PKey::DSA
- OpenSSL::PKey
- Reference
- Object
Defined in:
cherry/openssl/pkey/dsa.crConstructors
- .generate(size : Int = 4096) : DSA
- .new(dsa : LibCrypto::DSA, keyType = KeyType::All)
- .new(size : Int = 4096)
Class Method Summary
- .parse_private_key(private_key : String, password = nil)
- .parse_public_key(public_key : String, password = nil)
Instance Method Summary
- #finalize
- #modulus_size
- #private_key
- #private_key!
- #public_key
- #public_key!
- #to_io(io : IO, keyType : KeyType, cipher = nil, password = nil)
- #to_io(io : IO, cipher = nil, password = nil)
- #to_s(keyType : KeyType, cipher = nil, password = nil)
-
#to_s(cipher = nil, password = nil)
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #to_unsafe : LibCrypto::DSA
Instance methods inherited from class OpenSSL::PKey
finalize
finalize,
keyType : KeyType
keyType,
modulus_size
modulus_size,
pkey : LibCrypto::EVP_PKEY
pkey,
pkey=(pkey : LibCrypto::EVP_PKEY)
pkey=,
private_key?
private_key?,
public_key?
public_key?,
to_dsa
to_dsa,
to_rsa
to_rsa,
to_unsafe : LibCrypto::EVP_PKEY
to_unsafe
Constructor methods inherited from class OpenSSL::PKey
new(pkey : LibCrypto::EVP_PKEY, keyType : OpenSSL::PKey::KeyType = KeyType::PublicKey)new(keyType : OpenSSL::PKey::KeyType = KeyType::All) new
Class methods inherited from class OpenSSL::PKey
parse_private_key(private_key : String, password = nil)
parse_private_key,
parse_public_key(public_key : String, password = nil)
parse_public_key
Constructor Detail
Class Method Detail
Instance Method Detail
Description copied from class Object
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
.