removed constructor for RsaDecrypter and RsaEncrypter
parent
4f78c3db80
commit
d204ff1e69
|
@ -20,10 +20,6 @@ import org.mitre.jwt.signer.impl.HmacSigner;
|
||||||
|
|
||||||
public class RsaDecrypter extends AbstractJweDecrypter {
|
public class RsaDecrypter extends AbstractJweDecrypter {
|
||||||
|
|
||||||
public RsaDecrypter() {
|
|
||||||
//TODO: Put something here
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Jwe decrypt(String encryptedJwe, Key privateKey) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {
|
public Jwe decrypt(String encryptedJwe, Key privateKey) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException {
|
||||||
|
|
||||||
|
|
|
@ -21,11 +21,6 @@ import org.mitre.jwt.signer.impl.HmacSigner;
|
||||||
|
|
||||||
public class RsaEncrypter extends AbstractJweEncrypter {
|
public class RsaEncrypter extends AbstractJweEncrypter {
|
||||||
|
|
||||||
|
|
||||||
public RsaEncrypter() {
|
|
||||||
//TODO: Put something here
|
|
||||||
}
|
|
||||||
|
|
||||||
public Jwe encryptAndSign(Jwe jwe, Key publicKey) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException, InvalidKeySpecException {
|
public Jwe encryptAndSign(Jwe jwe, Key publicKey) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException, InvalidKeySpecException {
|
||||||
|
|
||||||
String alg = jwe.getHeader().getAlgorithm();
|
String alg = jwe.getHeader().getAlgorithm();
|
||||||
|
|
Loading…
Reference in New Issue