Class AAAEncryptionServiceImpl
- java.lang.Object
-
- io.lighty.aaa.encrypt.service.impl.AAAEncryptionServiceImpl
-
- All Implemented Interfaces:
org.opendaylight.aaa.encrypt.AAAEncryptionService
public class AAAEncryptionServiceImpl extends Object implements org.opendaylight.aaa.encrypt.AAAEncryptionService
-
-
Constructor Summary
Constructors Constructor Description AAAEncryptionServiceImpl(Cipher encryptCipher, Cipher decryptCipher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]decrypt(byte[] encryptedData)Stringdecrypt(String encryptedData)byte[]encrypt(byte[] data)Stringencrypt(String data)
-
-
-
Method Detail
-
encrypt
public String encrypt(String data)
- Specified by:
encryptin interfaceorg.opendaylight.aaa.encrypt.AAAEncryptionService
-
encrypt
public byte[] encrypt(byte[] data)
- Specified by:
encryptin interfaceorg.opendaylight.aaa.encrypt.AAAEncryptionService
-
decrypt
public String decrypt(String encryptedData)
- Specified by:
decryptin interfaceorg.opendaylight.aaa.encrypt.AAAEncryptionService
-
decrypt
public byte[] decrypt(byte[] encryptedData)
- Specified by:
decryptin interfaceorg.opendaylight.aaa.encrypt.AAAEncryptionService
-
-