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
18 19 20 21 22 23 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb', line 18 def initialize( = {}) @key_pair_id = key_pair_id() @hash_algorithm = hash_algorithm() @cipher = OpenSSL::Digest.new(@hash_algorithm) @private_key = load_private_key(private_key()) end |