net.minecraft.src
Class CryptManager

java.lang.Object
  extended by net.minecraft.src.CryptManager

public class CryptManager
extends Object


Field Summary
static Charset charSet
          ISO_8859_1
 
Constructor Summary
CryptManager()
           
 
Method Summary
static KeyPair createNewKeyPair()
           
static InputStream decryptInputStream(SecretKey par0SecretKey, InputStream par1InputStream)
           
static OutputStream encryptOuputStream(SecretKey par0SecretKey, OutputStream par1OutputStream)
           
static SecretKey func_75887_a(PrivateKey par0PrivateKey, byte[] par1ArrayOfByte)
           
static byte[] func_75889_b(Key par0Key, byte[] par1ArrayOfByte)
           
static SecretKey func_75890_a()
           
static byte[] func_75894_a(Key par0Key, byte[] par1ArrayOfByte)
           
static byte[] func_75895_a(String par0Str, PublicKey par1PublicKey, SecretKey par2SecretKey)
           
static PublicKey func_75896_a(byte[] par0ArrayOfByte)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

charSet

public static final Charset charSet
ISO_8859_1

Constructor Detail

CryptManager

public CryptManager()
Method Detail

func_75890_a

public static SecretKey func_75890_a()

createNewKeyPair

public static KeyPair createNewKeyPair()

func_75895_a

public static byte[] func_75895_a(String par0Str,
                                  PublicKey par1PublicKey,
                                  SecretKey par2SecretKey)

func_75896_a

public static PublicKey func_75896_a(byte[] par0ArrayOfByte)

func_75887_a

public static SecretKey func_75887_a(PrivateKey par0PrivateKey,
                                     byte[] par1ArrayOfByte)

func_75894_a

public static byte[] func_75894_a(Key par0Key,
                                  byte[] par1ArrayOfByte)

func_75889_b

public static byte[] func_75889_b(Key par0Key,
                                  byte[] par1ArrayOfByte)

encryptOuputStream

public static OutputStream encryptOuputStream(SecretKey par0SecretKey,
                                              OutputStream par1OutputStream)

decryptInputStream

public static InputStream decryptInputStream(SecretKey par0SecretKey,
                                             InputStream par1InputStream)