Пример #1
0
 public static ISM2 CreateWithPrivateKey(BigInteger key) => Factory.CreateWithPrivateKey(key);
Пример #2
0
 public static ISM2 CreateWithPublicKey(ECPoint key) => Factory.CreateWithPublicKey(key);
Пример #3
0
 public static ISM2 CreateWithPrivateKey(string key) => Factory.CreateWithPrivateKey(key);
Пример #4
0
 public static Sm2Key GeneratePrivateKey(string privateKey) => Factory.GeneratePrivateKey(privateKey);
Пример #5
0
 public static ISM2 Create(Sm2Key key) => Factory.Create(key);
Пример #6
0
 public static Sm2Key GeneratePrivateKey() => Factory.GeneratePrivateKey();
Пример #7
0
 public static Sm2Key GeneratePrivateKey(BigInteger privatePem) => Factory.GeneratePrivateKey(privatePem);
Пример #8
0
 public static Sm2Key GeneratePublicKey(string publicKey) => Factory.GeneratePublicKey(publicKey);
Пример #9
0
 public static Sm2Key GeneratePublicKey(ECPoint publicPem) => Factory.GeneratePublicKey(publicPem);
Пример #10
0
 public static Sm2Key GeneratePublicKey() => Factory.GeneratePublicKey();
Пример #11
0
 public static Sm2Key GenerateKey(AsymmetricKeyMode mode, string publicKey, string privateKey) => Factory.GenerateKey(mode, publicKey, privateKey);
Пример #12
0
 public static Sm2Key GenerateKey(AsymmetricKeyMode mode) => Factory.GenerateKey(mode);