Module: Aws::CloudFront::Signer
- Included in:
- CookieSigner, UrlSigner
- Defined in:
- gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb
Instance Method Summary collapse
Instance Method Details
#initialize(options = {}) ⇒ Object
14 15 16 17 18 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb', line 14 def initialize( = {}) @key_pair_id = key_pair_id() @cipher = OpenSSL::Digest.new('SHA1') @private_key = OpenSSL::PKey.read(private_key()) end |