PBEParameterSpec 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
PBEParameterSpec(Byte[], Int32) |
为 PKCS #5 标准中定义的基于密码的加密构造参数集。 |
PBEParameterSpec(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
PBEParameterSpec(Byte[], Int32, IAlgorithmParameterSpec) |
为 PKCS #5 标准中定义的基于密码的加密构造参数集。 |
PBEParameterSpec(Byte[], Int32)
为 PKCS #5 标准中定义的基于密码的加密构造参数集。
[Android.Runtime.Register(".ctor", "([BI)V", "")]
public PBEParameterSpec(byte[]? salt, int iterationCount);
[<Android.Runtime.Register(".ctor", "([BI)V", "")>]
new Javax.Crypto.Spec.PBEParameterSpec : byte[] * int -> Javax.Crypto.Spec.PBEParameterSpec
参数
- salt
- Byte[]
盐。 复制的内容 salt
以防止后续修改。
- iterationCount
- Int32
迭代计数。
- 属性
例外
如果 salt 为 null,则为 null。
注解
为 PKCS #5 标准中定义的基于密码的加密构造参数集。
适用于 . 的 javax.crypto.spec.PBEParameterSpec.PBEParameterSpec(byte[], int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
PBEParameterSpec(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected PBEParameterSpec(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Crypto.Spec.PBEParameterSpec : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Crypto.Spec.PBEParameterSpec
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
PBEParameterSpec(Byte[], Int32, IAlgorithmParameterSpec)
为 PKCS #5 标准中定义的基于密码的加密构造参数集。
[Android.Runtime.Register(".ctor", "([BILjava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=26)]
public PBEParameterSpec(byte[]? salt, int iterationCount, Java.Security.Spec.IAlgorithmParameterSpec? paramSpec);
[<Android.Runtime.Register(".ctor", "([BILjava/security/spec/AlgorithmParameterSpec;)V", "", ApiSince=26)>]
new Javax.Crypto.Spec.PBEParameterSpec : byte[] * int * Java.Security.Spec.IAlgorithmParameterSpec -> Javax.Crypto.Spec.PBEParameterSpec
参数
- salt
- Byte[]
盐。 复制的内容 salt
以防止后续修改。
- iterationCount
- Int32
迭代计数。
- paramSpec
- IAlgorithmParameterSpec
密码算法参数规范,可能为 null。
- 属性
注解
为 PKCS #5 标准中定义的基于密码的加密构造参数集。
已在 1.8 中添加。
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。