public class PowerAuthEciesEncryption<T> extends Object
| Constructor and Description |
|---|
PowerAuthEciesEncryption(EciesEncryptionContext context)
Initialize ECIES encryption object from either encryption or signature HTTP header.
|
| Modifier and Type | Method and Description |
|---|---|
EciesEncryptionContext |
getContext()
Get ECIES encryption context.
|
byte[] |
getDecryptedRequest()
Get decrypted request data.
|
io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor |
getEciesDecryptor()
Get ECIES decryptor.
|
byte[] |
getEncryptedRequest()
Get encrypted request data.
|
T |
getRequestObject()
Get decrypted request object.
|
void |
setDecryptedRequest(byte[] decryptedRequest)
Set decrypted request data.
|
void |
setEciesDecryptor(io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor eciesDecryptor)
Set ECIES decryptor.
|
void |
setEncryptedRequest(byte[] encryptedRequest)
Set encrypted request data.
|
void |
setRequestObject(T requestObject)
Set decrypted request object.
|
public PowerAuthEciesEncryption(EciesEncryptionContext context)
context - PowerAuth encryption context derived from either encryption or signature HTTP header.public EciesEncryptionContext getContext()
public io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor getEciesDecryptor()
public void setEciesDecryptor(io.getlime.security.powerauth.crypto.lib.encryptor.ecies.EciesDecryptor eciesDecryptor)
eciesDecryptor - ECIES decryptor.public byte[] getEncryptedRequest()
public void setEncryptedRequest(byte[] encryptedRequest)
encryptedRequest - Encrypted request data.public byte[] getDecryptedRequest()
public void setDecryptedRequest(byte[] decryptedRequest)
decryptedRequest - Decrypted request data.public T getRequestObject()
public void setRequestObject(T requestObject)
requestObject - Decrypted request object.Copyright © 2017–2020 Wultra s.r.o.. All rights reserved.