public class EDIINTHelper extends Object
Constructor and Description |
---|
EDIINTHelper(ICryptoHelper crypto) |
Modifier and Type | Method and Description |
---|---|
void |
decrypt(EDIINTMessage msg,
Certificate cert,
Key key) |
void |
encrypt(EDIINTMessage msg,
Certificate cert,
String algorithm) |
ICryptoHelper |
getCryptoHelper() |
boolean |
isEncrypted(EDIINTMessage msg) |
boolean |
isSigned(EDIINTMessage msg) |
void |
setCryptoHelper(ICryptoHelper cryptoHelper) |
void |
sign(EDIINTMessage msg,
Certificate cert,
Key key,
String digest) |
void |
verify(EDIINTMessage msg,
Certificate cert) |
public EDIINTHelper(ICryptoHelper crypto)
public void encrypt(EDIINTMessage msg, Certificate cert, String algorithm) throws CryptoException
CryptoException
public void decrypt(EDIINTMessage msg, Certificate cert, Key key) throws CryptoException
CryptoException
public void sign(EDIINTMessage msg, Certificate cert, Key key, String digest) throws CryptoException
CryptoException
public void verify(EDIINTMessage msg, Certificate cert) throws CryptoException
CryptoException
public boolean isEncrypted(EDIINTMessage msg) throws CryptoException
CryptoException
public boolean isSigned(EDIINTMessage msg) throws CryptoException
CryptoException
public ICryptoHelper getCryptoHelper()
public void setCryptoHelper(ICryptoHelper cryptoHelper)
Copyright © 2017. All rights reserved.