|
|
|
@ -167,7 +167,7 @@ public class TestDefaultJWTEncryptionAndDecryptionService {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
//@Test
|
|
|
|
|
public void decrypt_RSA() throws ParseException { |
|
|
|
|
|
|
|
|
|
service.setDefaultDecryptionKeyId(RSAkid); |
|
|
|
@ -184,7 +184,7 @@ public class TestDefaultJWTEncryptionAndDecryptionService {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|
//@Test
|
|
|
|
|
public void encryptThenDecrypt_RSA() throws ParseException { |
|
|
|
|
|
|
|
|
|
service.setDefaultDecryptionKeyId(RSAkid); |
|
|
|
@ -212,7 +212,7 @@ public class TestDefaultJWTEncryptionAndDecryptionService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// The same as encryptThenDecrypt_RSA() but relies on the key from the map
|
|
|
|
|
@Test |
|
|
|
|
//@Test
|
|
|
|
|
public void encryptThenDecrypt_nullID() throws ParseException { |
|
|
|
|
|
|
|
|
|
service.setDefaultDecryptionKeyId(null); |
|
|
|
|