本文整理汇总了Java中org.bouncycastle.pqc.crypto.rainbow.Layer类的典型用法代码示例。如果您正苦于以下问题:Java Layer类的具体用法?Java Layer怎么用?Java Layer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Layer类属于org.bouncycastle.pqc.crypto.rainbow包,在下文中一共展示了Layer类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: RainbowPrivateKey
import org.bouncycastle.pqc.crypto.rainbow.Layer; //导入依赖的package包/类
public RainbowPrivateKey(short[][] invA1, short[] b1, short[][] invA2,
short[] b2, int[] vi, Layer[] layers)
{
this.version = new ASN1Integer(1);
this.invA1 = RainbowUtil.convertArray(invA1);
this.b1 = RainbowUtil.convertArray(b1);
this.invA2 = RainbowUtil.convertArray(invA2);
this.b2 = RainbowUtil.convertArray(b2);
this.vi = RainbowUtil.convertIntArray(vi);
this.layers = layers;
}
开发者ID:Appdome,项目名称:ipack,代码行数:12,代码来源:RainbowPrivateKey.java
示例2: BCRainbowPrivateKey
import org.bouncycastle.pqc.crypto.rainbow.Layer; //导入依赖的package包/类
/**
* Constructor.
*
* @param A1inv
* @param b1
* @param A2inv
* @param b2
* @param layers
*/
public BCRainbowPrivateKey(short[][] A1inv, short[] b1, short[][] A2inv,
short[] b2, int[] vi, Layer[] layers)
{
this.A1inv = A1inv;
this.b1 = b1;
this.A2inv = A2inv;
this.b2 = b2;
this.vi = vi;
this.layers = layers;
}
开发者ID:Appdome,项目名称:ipack,代码行数:20,代码来源:BCRainbowPrivateKey.java
示例3: RainbowPrivateKeySpec
import org.bouncycastle.pqc.crypto.rainbow.Layer; //导入依赖的package包/类
/**
* Constructor
*
* @param A1inv the inverse of A1(the matrix part of the affine linear map L1)
* (n-v1 x n-v1 matrix)
* @param b1 translation vector, part of the linear affine map L1
* @param A2inv the inverse of A2(the matrix part of the affine linear map L2)
* (n x n matrix)
* @param b2 translation vector, part of the linear affine map L2
* @param vi the number of Vinegar-variables per layer
* @param layers the polynomials with their coefficients of private map F
*/
public RainbowPrivateKeySpec(short[][] A1inv, short[] b1,
short[][] A2inv, short[] b2, int[] vi, Layer[] layers)
{
this.A1inv = A1inv;
this.b1 = b1;
this.A2inv = A2inv;
this.b2 = b2;
this.vi = vi;
this.layers = layers;
}
开发者ID:Appdome,项目名称:ipack,代码行数:23,代码来源:RainbowPrivateKeySpec.java
示例4: getLayers
import org.bouncycastle.pqc.crypto.rainbow.Layer; //导入依赖的package包/类
/**
* Returns the layers contained in the private key
*
* @return layers
*/
public Layer[] getLayers()
{
return this.layers;
}
开发者ID:Appdome,项目名称:ipack,代码行数:10,代码来源:RainbowPrivateKey.java
注:本文中的org.bouncycastle.pqc.crypto.rainbow.Layer类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论