Skip navigation links


org.identityconnectors.common.security
Interface Encryptor


public interface Encryptor

Responsible for encrypting/decrypting bytes. Implementations are intended to be thread-safe.


Method Summary
 byte[] decrypt(byte[] bytes)
          Decrypts the given byte array
 byte[] encrypt(byte[] bytes)
          Encrypts the given byte array

 

Method Detail

decrypt

byte[] decrypt(byte[] bytes)
Decrypts the given byte array
Parameters:
bytes - The encrypted bytes
Returns:
The decrypted bytes

encrypt

byte[] encrypt(byte[] bytes)
Encrypts the given byte array
Parameters:
bytes - The clear bytes
Returns:
The ecnrypted bytes

Skip navigation links


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.