com.aelitis.azureus.core.security
Class CryptoECCUtils
java.lang.Object
com.aelitis.azureus.core.security.CryptoECCUtils
public class CryptoECCUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CryptoECCUtils
public CryptoECCUtils()
createKeys
public static KeyPair createKeys()
throws CryptoManagerException
- Throws:
CryptoManagerException
getSignature
public static Signature getSignature(Key key)
throws CryptoManagerException
- Throws:
CryptoManagerException
keyToRawdata
public static byte[] keyToRawdata(PrivateKey privkey)
throws CryptoManagerException
- Throws:
CryptoManagerException
rawdataToPrivkey
public static PrivateKey rawdataToPrivkey(byte[] input)
throws CryptoManagerException
- Throws:
CryptoManagerException
keyToRawdata
public static byte[] keyToRawdata(PublicKey pubkey)
throws CryptoManagerException
- Throws:
CryptoManagerException
rawdataToPubkey
public static PublicKey rawdataToPubkey(byte[] input)
throws CryptoManagerException
- Throws:
CryptoManagerException