本文整理汇总了Java中org.bouncycastle.math.ec.custom.sec.SecP224R1Curve类的典型用法代码示例。如果您正苦于以下问题:Java SecP224R1Curve类的具体用法?Java SecP224R1Curve怎么用?Java SecP224R1Curve使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SecP224R1Curve类属于org.bouncycastle.math.ec.custom.sec包,在下文中一共展示了SecP224R1Curve类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createParameters
import org.bouncycastle.math.ec.custom.sec.SecP224R1Curve; //导入依赖的package包/类
protected X9ECParameters createParameters()
{
byte[] S = Hex.decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5");
ECCurve curve = configureCurve(new SecP224R1Curve());
X9ECPoint G = new X9ECPoint(curve, Hex.decode("04"
+ "B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"
+ "BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34"));
return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
}
示例2: createParameters
import org.bouncycastle.math.ec.custom.sec.SecP224R1Curve; //导入依赖的package包/类
protected X9ECParameters createParameters()
{
byte[] S = Hex.decode("BD71344799D5C7FCDC45B59FA3B9AB8F6A948BC5");
ECCurve curve = configureCurve(new SecP224R1Curve());
ECPoint G = curve.decodePoint(Hex.decode("04"
+ "B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"
+ "BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34"));
return new X9ECParameters(curve, G, curve.getOrder(), curve.getCofactor(), S);
}