edu.nyu.cs.pdsg.util
Class KeyUtils

java.lang.Object
  extended byedu.nyu.cs.pdsg.util.KeyUtils

public class KeyUtils
extends java.lang.Object


Field Summary
static java.lang.String alg
           
static java.security.Provider prov
           
 
Constructor Summary
KeyUtils()
           
 
Method Summary
static java.security.KeyPair loadKey(java.lang.String fname)
           
static byte[] serializeKey(java.security.PublicKey key)
           
static void setAlgorithm(java.lang.String newAlg)
           
static void setProvider(java.security.Provider newProv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prov

public static java.security.Provider prov

alg

public static java.lang.String alg
Constructor Detail

KeyUtils

public KeyUtils()
Method Detail

setAlgorithm

public static void setAlgorithm(java.lang.String newAlg)

setProvider

public static void setProvider(java.security.Provider newProv)

serializeKey

public static byte[] serializeKey(java.security.PublicKey key)
                           throws java.io.IOException
Throws:
java.io.IOException

loadKey

public static java.security.KeyPair loadKey(java.lang.String fname)
                                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright (c) 2002-2003 New York University RLAB