removed web app from this git repository
parent
99a574d303
commit
754e8406bb
|
@ -15,19 +15,11 @@ import org.mitre.jwe.model.Jwe;
|
||||||
|
|
||||||
public abstract class AbstractJweDecrypter implements JwtDecrypter {
|
public abstract class AbstractJweDecrypter implements JwtDecrypter {
|
||||||
|
|
||||||
private Jwe jwe;
|
|
||||||
|
|
||||||
private PrivateKey privateKey;
|
private PrivateKey privateKey;
|
||||||
|
|
||||||
private PublicKey publicKey;
|
private PublicKey publicKey;
|
||||||
|
|
||||||
public Jwe getJwe() {
|
|
||||||
return jwe;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setJwe(Jwe jwe) {
|
|
||||||
this.jwe = jwe;
|
|
||||||
}
|
|
||||||
|
|
||||||
public PrivateKey getPrivateKey() {
|
public PrivateKey getPrivateKey() {
|
||||||
return privateKey;
|
return privateKey;
|
||||||
|
|
|
@ -7,10 +7,20 @@ import org.mitre.jwt.model.JwtHeader;
|
||||||
|
|
||||||
public class RsaDecrypter extends AbstractJweDecrypter {
|
public class RsaDecrypter extends AbstractJweDecrypter {
|
||||||
|
|
||||||
|
private Jwe jwe;
|
||||||
|
|
||||||
public RsaDecrypter(Jwe jwe) {
|
public RsaDecrypter(Jwe jwe) {
|
||||||
setJwe(jwe);
|
setJwe(jwe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Jwe getJwe() {
|
||||||
|
return jwe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setJwe(Jwe jwe) {
|
||||||
|
this.jwe = jwe;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Jwe decrypt(String encryptedJwe) {
|
public Jwe decrypt(String encryptedJwe) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue