abstract class OpenSSL::PKey
- OpenSSL::PKey
- Reference
- Object
Direct Known Subclasses
Defined in:
openssl_ext/pkey.crConstructors
- .new(pkey : Pointer(LibCrypto::EvpPKey), is_private : Bool)
- .new(encoded : String, passphrase = nil, is_private = true)
- .new(io : IO, passphrase = nil, is_private = true)
- .new(size : Int32)
- .new(is_private)
Instance Method Summary
- #finalize
- #private? : Bool
- #public?
- #sign(digest, data)
- #to_der(io)
- #to_der
- #to_pem(io : IO, cipher : OpenSSL::Cipher | Nil = nil, passphrase = nil)
- #to_pem(cipher : OpenSSL::Cipher, passphrase)
- #to_pem
- #to_unsafe : Pointer(LibCrypto::EvpPKey)
- #verify(digest, signature, data)