本文整理汇总了Java中org.bouncycastle.operator.KeyWrapper类的典型用法代码示例。如果您正苦于以下问题:Java KeyWrapper类的具体用法?Java KeyWrapper怎么用?Java KeyWrapper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
KeyWrapper类属于org.bouncycastle.operator包,在下文中一共展示了KeyWrapper类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: JcaEncryptedValueBuilder
点赞 2
import org.bouncycastle.operator.KeyWrapper; //导入依赖的package包/类
public JcaEncryptedValueBuilder(KeyWrapper wrapper, OutputEncryptor encryptor)
{
super(wrapper, encryptor);
}
开发者ID:Appdome,
项目名称:ipack,
代码行数:5,
代码来源:JcaEncryptedValueBuilder.java
示例2: EncryptedValueBuilder
点赞 1
import org.bouncycastle.operator.KeyWrapper; //导入依赖的package包/类
/**
* Create a builder that makes EncryptedValue structures with fixed length blocks padded using the passed in padder.
*
* @param wrapper a wrapper for key used to encrypt the actual data contained in the EncryptedValue.
* @param encryptor an output encryptor to encrypt the actual data contained in the EncryptedValue.
* @param padder a padder to ensure that the EncryptedValue created will always be a constant length.
*/
public EncryptedValueBuilder(KeyWrapper wrapper, OutputEncryptor encryptor, EncryptedValuePadder padder)
{
this.wrapper = wrapper;
this.encryptor = encryptor;
this.padder = padder;
}
开发者ID:Appdome,
项目名称:ipack,
代码行数:14,
代码来源:EncryptedValueBuilder.java