File: openssl_ext.rbs

package info (click to toggle)
ruby-simple-oauth 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: ruby: 1,722; makefile: 4; sh: 4
file content (9 lines) | stat: -rw-r--r-- 236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# Extensions to OpenSSL types
module OpenSSL
  module PKey
    class PKey
      # Sign with digest name as String (in addition to Digest object)
      def sign: (String | OpenSSL::Digest digest, String data) -> String
    end
  end
end