public static advRSA InstanceDec(BigInteger N, BigInteger D) { advRSA buf = new advRSA(); buf.N = N; buf.D = D; return(buf); }
public static advRSA InstanceDec(byte[] N, byte[] D) { advRSA buf = new advRSA(); buf.N = new BigInteger(N); buf.D = new BigInteger(D); return(buf); }
public static advRSA InstanceEnc(byte[] N, byte[] E) { advRSA buf = new advRSA(); buf.N = new BigInteger(N); buf.E = new BigInteger(E); return(buf); }
public static advRSA InstanceEnc(BigInteger N, BigInteger E) { advRSA buf = new advRSA(); buf.N = N; buf.E = E; return(buf); }
public static advRSA Instance(byte[] P, byte[] Q, byte[] E) { advRSA buf = new advRSA(); buf.P = new BigInteger(P); buf.Q = new BigInteger(Q); buf.E = new BigInteger(E); return(buf); }
public static advRSA InstanceED(BigInteger E, BigInteger D, BigInteger N) { advRSA buf = new advRSA(); buf.E = E; buf.D = D; buf.N = N; return(buf); }
public static advRSA Instance(BigInteger P, BigInteger Q, BigInteger E) { advRSA buf = new advRSA(); buf.P = P; buf.Q = Q; buf.E = E; return(buf); }