Package io.jans.as.model.jwe
Class JweDecrypterImpl
- java.lang.Object
-
- io.jans.as.model.jwe.AbstractJweDecrypter
-
- io.jans.as.model.jwe.JweDecrypterImpl
-
- All Implemented Interfaces:
JweDecrypter
public class JweDecrypterImpl extends AbstractJweDecrypter
- Version:
- November 20, 2018
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description JweDecrypterImpl(byte[] sharedSymmetricKey)
JweDecrypterImpl(PrivateKey privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Jwe
decrypt(String encryptedJwe)
boolean
isFapi()
void
setFapi(boolean fapi)
-
Methods inherited from class io.jans.as.model.jwe.AbstractJweDecrypter
getBlockEncryptionAlgorithm, getKeyEncryptionAlgorithm, setBlockEncryptionAlgorithm, setKeyEncryptionAlgorithm
-
-
-
-
Constructor Detail
-
JweDecrypterImpl
public JweDecrypterImpl(byte[] sharedSymmetricKey)
-
JweDecrypterImpl
public JweDecrypterImpl(PrivateKey privateKey)
-
-
Method Detail
-
isFapi
public boolean isFapi()
-
setFapi
public void setFapi(boolean fapi)
-
decrypt
public Jwe decrypt(String encryptedJwe) throws InvalidJweException
- Throws:
InvalidJweException
-
-