本文整理了Java中org.bouncycastle.math.ec.ECCurve.configure()
方法的一些代码示例,展示了ECCurve.configure()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ECCurve.configure()
方法的具体详情如下:
包路径:org.bouncycastle.math.ec.ECCurve
类名称:ECCurve
方法名:configure
暂无
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p)
{
return c.configure().setEndomorphism(new GLVTypeBEndomorphism(c, p)).create();
}
代码示例来源:origin: redfish64/TinyTravelTracker
protected ECCurve configureCurve(ECCurve c, int coord)
{
if (c.getCoordinateSystem() == coord)
{
return c;
}
if (!c.supportsCoordinateSystem(coord))
{
throw new IllegalArgumentException("Coordinate system " + coord + " not supported by this curve");
}
return c.configure().setCoordinateSystem(coord).create();
}
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
protected ECCurve configureCurve(ECCurve c, int coord)
{
if (c.getCoordinateSystem() == coord)
{
return c;
}
if (!c.supportsCoordinateSystem(coord))
{
throw new IllegalArgumentException("Coordinate system " + coord + " not supported by this curve");
}
return c.configure().setCoordinateSystem(coord).create();
}
}
代码示例来源:origin: org.bouncycastle/bcprov-debug-jdk15on
private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p)
{
return c.configure().setEndomorphism(new GLVTypeBEndomorphism(c, p)).create();
}
代码示例来源:origin: redfish64/TinyTravelTracker
private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p)
{
return c.configure().setEndomorphism(new GLVTypeBEndomorphism(c, p)).create();
}
代码示例来源:origin: redfish64/TinyTravelTracker
private static ECCurve configureCurveGLV(ECCurve c, GLVTypeBParameters p)
{
return c.configure().setEndomorphism(new GLVTypeBEndomorphism(c, p)).create();
}
内容来源于网络,如有侵权,请联系作者删除!