com.aelitis.azureus.core.security
Class CryptoECCUtils
java.lang.Object
com.aelitis.azureus.core.security.CryptoECCUtils
public class CryptoECCUtils
- extends java.lang.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 java.security.KeyPair createKeys()
throws CryptoManagerException
- Throws:
CryptoManagerException
getSignature
public static java.security.Signature getSignature(java.security.Key key)
throws CryptoManagerException
- Throws:
CryptoManagerException
keyToRawdata
public static byte[] keyToRawdata(java.security.PrivateKey privkey)
throws CryptoManagerException
- Throws:
CryptoManagerException
rawdataToPrivkey
public static java.security.PrivateKey rawdataToPrivkey(byte[] input)
throws CryptoManagerException
- Throws:
CryptoManagerException
keyToRawdata
public static byte[] keyToRawdata(java.security.PublicKey pubkey)
throws CryptoManagerException
- Throws:
CryptoManagerException
rawdataToPubkey
public static java.security.PublicKey rawdataToPubkey(byte[] input)
throws CryptoManagerException
- Throws:
CryptoManagerException