class IapAuthenticator::Pkey
Public Class Methods
parse( private_key_string )
click to toggle source
# File lib/iap_authenticator/pkey.rb, line 3 def self.parse( private_key_string ) begin rsa_private_key = OpenSSL::PKey::RSA.new(private_key_string) rescue raise "Invalid Private Key in service account credentials." end return rsa_private_key end