summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoost Faassen <j.faassen@linkorb.com>2017-06-19 18:29:59 +0200
committerRob DiMarco <rdimarco@google.com>2017-06-19 09:29:59 -0700
commit7f72b48d1fc07525b277ee83533b5e2305e3de14 (patch)
treee4fd01e9446e0da55ace4e77b612ae4582a07f01 /src
parent3aa3d978973f080746b2f2f75b10d3f38cbb0557 (diff)
downloadphp-jwt-7f72b48d1fc07525b277ee83533b5e2305e3de14.zip
php-jwt-7f72b48d1fc07525b277ee83533b5e2305e3de14.tar.gz
php-jwt-7f72b48d1fc07525b277ee83533b5e2305e3de14.tar.bz2
Support RS384 and RS512 (#117)
Diffstat (limited to 'src')
-rw-r--r--src/JWT.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/JWT.php b/src/JWT.php
index 6d30e94..ea3cc7d 100644
--- a/src/JWT.php
+++ b/src/JWT.php
@@ -42,6 +42,8 @@ class JWT
'HS512' => array('hash_hmac', 'SHA512'),
'HS384' => array('hash_hmac', 'SHA384'),
'RS256' => array('openssl', 'SHA256'),
+ 'RS384' => array('openssl', 'SHA384'),
+ 'RS512' => array('openssl', 'SHA512'),
);
/**