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:36:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes a27f27bc2 -> 43d17e632


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/43d17e63
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/43d17e63
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/43d17e63

Branch: refs/heads/3.1.x-fixes
Commit: 43d17e63214d8d79ac8796524c026830ffb1043a
Parents: a27f27b
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:33:58 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/43d17e63/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