cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Switch to use PrivateKey instead
Date Thu, 18 Feb 2016 10:33:04 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 4fc5e7af1 -> 5249d5e71


Switch to use PrivateKey instead


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/5249d5e7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5249d5e7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5249d5e7

Branch: refs/heads/master
Commit: 5249d5e71d61cbef4f3599a8cdbcc79bd86d53c7
Parents: 4fc5e7a
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Feb 18 10:32:47 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Feb 18 10:32:47 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5249d5e7/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java
b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java
index 451b464..f5610cf 100644
--- a/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java
+++ b/rt/rs/security/jose-parent/jose/src/main/java/org/apache/cxf/rs/security/jose/jwe/JweJwtCompactConsumer.java
@@ -18,7 +18,7 @@
  */
 package org.apache.cxf.rs.security.jose.jwe;
 import java.nio.charset.StandardCharsets;
-import java.security.interfaces.RSAPrivateKey;
+import java.security.PrivateKey;
 
 import javax.crypto.SecretKey;
 
@@ -39,7 +39,7 @@ public class JweJwtCompactConsumer  {
         return decryptWith(JweUtils.createJweDecryptionProvider(key, 
                                headers.getContentEncryptionAlgorithm()));
     }
-    public JwtToken decryptWith(RSAPrivateKey key) {
+    public JwtToken decryptWith(PrivateKey key) {
         return decryptWith(JweUtils.createJweDecryptionProvider(key, 
                                headers.getKeyEncryptionAlgorithm(),
                                headers.getContentEncryptionAlgorithm()));


Mime
View raw message