PbeParameters PbeParameters PbeParameters PbeParameters Class

定义

表示用于基于密码加密 (PBE) 的参数。Represents parameters to be used for Password-Based Encryption (PBE).

public ref class PbeParameters sealed
public sealed class PbeParameters
type PbeParameters = class
Public NotInheritable Class PbeParameters
继承
PbeParametersPbeParametersPbeParametersPbeParameters

构造函数

PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32) PbeParameters(PbeEncryptionAlgorithm, HashAlgorithmName, Int32)

初始化 PbeParameters 类的新实例。Initializes a new instance of the PbeParameters class.

属性

EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm EncryptionAlgorithm

获取加密数据时要使用的算法。Gets the algorithm to use when encrypting data.

HashAlgorithm HashAlgorithm HashAlgorithm HashAlgorithm

获取与密钥派生功能 (KDF) 结合使用的哈希算法的名称,用于将密码转换为加密密钥。Gets the name of the hash algorithm to use with the Key Derivation Function (KDF) to turn a password into an encryption key.

IterationCount IterationCount IterationCount IterationCount

获取向密钥派生功能 (KDF) 提供的迭代计数,用于将密码转换为加密密钥。Gets the iteration count to provide to the Key Derivation Function (KDF) to turn a password into an encryption key.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于

线程安全性

的所有公共和受保护PbeParameters的成员都是线程安全的, 可从多个线程并发使用。All public and protected members of PbeParameters are thread-safe and may be used concurrently from multiple threads.