security
Class CipherBean

java.lang.Object
  extended by security.CipherBean
All Implemented Interfaces:
java.io.Serializable

public class CipherBean
extends java.lang.Object
implements java.io.Serializable

Copyright 2005, DocJava, Inc. User: dlyon Date: Oct 18, 2005 Time: 3:49:09 PM

See Also:
Serialized Form

Constructor Summary
CipherBean(java.lang.String uidPw)
           
 
Method Summary
 javax.crypto.Cipher getDecoder()
           
 javax.crypto.Cipher getEncoder()
           
 java.security.Key getKey()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherBean

public CipherBean(java.lang.String uidPw)
           throws java.security.InvalidKeyException,
                  java.security.NoSuchAlgorithmException,
                  javax.crypto.NoSuchPaddingException
Throws:
java.security.InvalidKeyException
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException
Method Detail

getEncoder

public javax.crypto.Cipher getEncoder()
                               throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

getDecoder

public javax.crypto.Cipher getDecoder()
                               throws java.security.InvalidKeyException
Throws:
java.security.InvalidKeyException

main

public static void main(java.lang.String[] args)

getKey

public java.security.Key getKey()