Package org.opendaylight.aaa.encrypt
Interface AAAEncryptionService
public interface AAAEncryptionService
A generic encryption/decryption service for encrypting various data in ODL.
- Author:
- - Sharon Aicler (saichler@gmail.com)
-
Method Summary
-
Method Details
-
encrypt
Encryptdatausing a 2-way encryption mechanism.- Parameters:
data- plaintext data- Returns:
- an encrypted representation of
data - Throws:
NullPointerException- whendataisnullGeneralSecurityException- when encryption fails
-
decrypt
DecryptencryptedDatausing a 2-way decryption mechanism.- Parameters:
encryptedData- encrypted data- Returns:
- plaintext bytes
- Throws:
NullPointerException- whenencryptedDataisnullGeneralSecurityException- when decryption fails
-