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 Details

    • AAAEncryptionServiceImpl

      public AAAEncryptionServiceImpl(Cipher encryptCipher, Cipher decryptCipher)
  • Method Details

    • encrypt

      public byte[] encrypt(byte[] data)
      Specified by:
      encrypt in interface org.opendaylight.aaa.encrypt.AAAEncryptionService
    • decrypt

      public byte[] decrypt(byte[] encryptedData)
      Specified by:
      decrypt in interface org.opendaylight.aaa.encrypt.AAAEncryptionService