本文整理汇总了Java中org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil.convertArray方法的典型用法代码示例。如果您正苦于以下问题:Java RainbowUtil.convertArray方法的具体用法?Java RainbowUtil.convertArray怎么用?Java RainbowUtil.convertArray使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil
的用法示例。
在下文中一共展示了RainbowUtil.convertArray方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RainbowPrivateKey
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的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;
}
示例2: RainbowPublicKey
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
public RainbowPublicKey(int docLength, short[][] coeffQuadratic, short[][] coeffSingular, short[] coeffScalar)
{
this.version = new ASN1Integer(0);
this.docLength = new ASN1Integer(docLength);
this.coeffQuadratic = RainbowUtil.convertArray(coeffQuadratic);
this.coeffSingular = RainbowUtil.convertArray(coeffSingular);
this.coeffScalar = RainbowUtil.convertArray(coeffScalar);
}
示例3: getCoeffQuadratic
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* @return the coeffquadratic
*/
public short[][] getCoeffQuadratic()
{
return RainbowUtil.convertArray(coeffQuadratic);
}
示例4: getCoeffSingular
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* @return the coeffsingular
*/
public short[][] getCoeffSingular()
{
return RainbowUtil.convertArray(coeffSingular);
}
示例5: getCoeffScalar
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* @return the coeffscalar
*/
public short[] getCoeffScalar()
{
return RainbowUtil.convertArray(coeffScalar);
}
示例6: getInvA1
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* Getter for the inverse matrix of A1.
*
* @return the A1inv inverse
*/
public short[][] getInvA1()
{
return RainbowUtil.convertArray(invA1);
}
示例7: getB1
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* Getter for the translation part of the private quadratic map L1.
*
* @return b1 the translation part of L1
*/
public short[] getB1()
{
return RainbowUtil.convertArray(b1);
}
示例8: getB2
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* Getter for the translation part of the private quadratic map L2.
*
* @return b2 the translation part of L2
*/
public short[] getB2()
{
return RainbowUtil.convertArray(b2);
}
示例9: getInvA2
import org.bouncycastle.pqc.crypto.rainbow.util.RainbowUtil; //导入方法依赖的package包/类
/**
* Getter for the inverse matrix of A2
*
* @return the A2inv
*/
public short[][] getInvA2()
{
return RainbowUtil.convertArray(invA2);
}