org.apache.juddi.cryptor
Class DefaultCryptor
java.lang.Object
org.apache.juddi.cryptor.DefaultCryptor
- All Implemented Interfaces:
- Cryptor
public class DefaultCryptor
- extends Object
- implements Cryptor
- Author:
- Anou Manavalan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCryptor
public DefaultCryptor()
throws NoSuchAlgorithmException,
InvalidKeySpecException
- Constructor for DefaultCryptor.
- Throws:
NoSuchAlgorithmException
InvalidKeySpecException
encrypt
public String encrypt(String str)
throws NoSuchPaddingException,
NoSuchAlgorithmException,
InvalidAlgorithmParameterException,
InvalidKeyException,
IllegalBlockSizeException,
BadPaddingException
- Encrypt the string
- Specified by:
encrypt
in interface Cryptor
- Throws:
NoSuchPaddingException
NoSuchAlgorithmException
InvalidAlgorithmParameterException
InvalidKeyException
IllegalBlockSizeException
BadPaddingException
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.