removed constructor for RsaDecrypter and RsaEncrypter

pull/105/head
Mike Derryberry 13 years ago
parent 4f78c3db80
commit d204ff1e69

@ -20,10 +20,6 @@ import org.mitre.jwt.signer.impl.HmacSigner;
public class RsaDecrypter extends AbstractJweDecrypter {
public RsaDecrypter() {
//TODO: Put something here
}
@Override
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 RsaEncrypter() {
//TODO: Put something here
}
public Jwe encryptAndSign(Jwe jwe, Key publicKey) throws NoSuchAlgorithmException, InvalidKeyException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidAlgorithmParameterException, InvalidKeySpecException {
String alg = jwe.getHeader().getAlgorithm();

Loading…
Cancel
Save