org.identityconnectors.common.security.impl
Class EncryptorImpl

java.lang.Object
  extended by org.identityconnectors.common.security.impl.EncryptorImpl
All Implemented Interfaces:
Encryptor

public class EncryptorImpl
extends Object
implements Encryptor


Constructor Summary
EncryptorImpl(boolean defaultKey)
           
 
Method Summary
 byte[] decrypt(byte[] bytes)
           
 byte[] encrypt(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptorImpl

public EncryptorImpl(boolean defaultKey)
Method Detail

decrypt

public byte[] decrypt(byte[] bytes)
Specified by:
decrypt in interface Encryptor

encrypt

public byte[] encrypt(byte[] bytes)
Specified by:
encrypt in interface Encryptor


Copyright © 2011. All Rights Reserved.