Sha256: 1e35f3adf29d3c7e7426891cc169d477178b45d1dae5208695eef1c136485345
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
require 'rspec' require 'openid_connect' require 'helpers/webmock_helper' def rsa @rsa ||= OpenSSL::PKey::RSA.generate 2048 end def public_key @public_key ||= rsa.public_key end def private_key @private_key ||= OpenSSL::PKey::RSA.new rsa.export(OpenSSL::Cipher::Cipher.new('aes256'), 'pass-phrase'), 'pass-phrase' end
Version data entries
5 entries across 5 versions & 1 rubygems