Class: CyberSource::JWEUtility
- Inherits:
-
Object
- Object
- CyberSource::JWEUtility
- Defined in:
- lib/cybersource_rest_client/utilities/jwe_utility.rb
Class Method Summary collapse
-
.decryptJWEResponse(encoded_response, merchant_config) ⇒ Object
DEPRECATED: This method has been marked as Deprecated and will be removed in coming releases.
- .decryptJWUsingPrivateKey(private_key, encoded_response) ⇒ Object
Class Method Details
.decryptJWEResponse(encoded_response, merchant_config) ⇒ Object
DEPRECATED: This method has been marked as Deprecated and will be removed in coming releases. Use decryptJWUsingPrivateKey()
instead.
9 10 11 12 |
# File 'lib/cybersource_rest_client/utilities/jwe_utility.rb', line 9 def self.decryptJWEResponse(encoded_response, merchant_config) warn("[DEPRECATED] `decryptJWEResponse()` method is deprecated and will be removed in coming releases. Use `decryptJWUsingPrivateKey()` instead.") return AuthJWEUtility.decrypt_jwe_using_pem(merchant_config, encoded_response) end |
.decryptJWUsingPrivateKey(private_key, encoded_response) ⇒ Object
14 15 16 |
# File 'lib/cybersource_rest_client/utilities/jwe_utility.rb', line 14 def self.decryptJWUsingPrivateKey(private_key, encoded_response) return AuthJWEUtility.decrypt_jwe_using_private_key(private_key, encoded_response) end |