com.safeidentity.adminservice.util
Class AgentKeyGenerator

java.lang.Object
  extended bycom.safeidentity.adminservice.util.AgentKeyGenerator

public class AgentKeyGenerator
extends java.lang.Object

Author:
cho To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static java.lang.String AES
           
 
Constructor Summary
AgentKeyGenerator()
           
 
Method Summary
 byte[] createTicketKey()
          ·£´ý ۸¦ »ý¼ºÇÑ´Ù.
 java.lang.String createTicketKeyString()
          ·£´ý ۸¦ »ý¼ºÇÏ¿© Base64 ÀÎÄÚµù ÇÑ ¹®ÀÚ¿­À» ¹ÝȯÇÑ´Ù.
static AgentKeyGenerator getInstance()
          TicketKeyGenerator °´Ã¼¸¦ »ý¼ºÇÏ¿© ¹ÝȯÇÑ´Ù.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AES

public static java.lang.String AES
Constructor Detail

AgentKeyGenerator

public AgentKeyGenerator()
Method Detail

getInstance

public static AgentKeyGenerator getInstance()
TicketKeyGenerator °´Ã¼¸¦ »ý¼ºÇÏ¿© ¹ÝȯÇÑ´Ù.

Returns:
TicketKeyGenerator °´Ã¼

createTicketKey

public byte[] createTicketKey()
                       throws java.security.NoSuchAlgorithmException
·£´ý ۸¦ »ý¼ºÇÑ´Ù.

Returns:
·£´ý Ű
Throws:
java.security.NoSuchAlgorithmException - Áö¿øÇÏÁö ¾Ê´Â ¾Ë°í¸®Áò

createTicketKeyString

public java.lang.String createTicketKeyString()
                                       throws java.security.NoSuchAlgorithmException
·£´ý ۸¦ »ý¼ºÇÏ¿© Base64 ÀÎÄÚµù ÇÑ ¹®ÀÚ¿­À» ¹ÝȯÇÑ´Ù.

Returns:
·£´ý Ű ¹®ÀÚ¿­
Throws:
java.security.NoSuchAlgorithmException - Áö¿øÇÏÁö ¾Ê´Â ¾Ë°í¸®Áò


Copyright © 2004 SoftForum Corp. All Rights Reserved.