package Imooc;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.interfaces.ECPrivateKey;
import java.security.interfaces.ECPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.security.Signature;
import com.sun.org.apache.xerces.internal.impl.dv.util.HexBin;
//import com.sun.org.apache.bcel.internal.classfile.Signature;
public class ImoocECDSA {
private static String src = "imooc security ecdsa";
public static void main(String[] args) {
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.interfaces.ECPrivateKey;
import java.security.interfaces.ECPublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509EncodedKeySpec;
import java.security.Signature;
import com.sun.org.apache.xerces.internal.impl.dv.util.HexBin;
//import com.sun.org.apache.bcel.internal.classfile.Signature;
public class ImoocECDSA {
private static String src = "imooc security ecdsa";
public static void main(String[] args) {