CryptoProviderFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates cryptographic operators by specifying a SecurityKey's and algorithms.
public class CryptoProviderFactory
type CryptoProviderFactory = class
Public Class CryptoProviderFactory
- Inheritance
-
CryptoProviderFactory
Constructors
CryptoProviderFactory() |
Initializes a new instance of the CryptoProviderFactory class. |
CryptoProviderFactory(CryptoProviderCache) |
Initializes a new instance of the CryptoProviderFactory class. |
CryptoProviderFactory(CryptoProviderFactory) |
Initializes a new instance of the CryptoProviderFactory class. |
Properties
CacheSignatureProviders |
Gets or sets a bool controlling if SignatureProvider should be cached. |
CryptoProviderCache |
Gets the CryptoProviderCache. |
CustomCryptoProvider |
Extensibility point for creating custom cryptographic operators. |
Default |
Returns the default CryptoProviderFactory instance. |
DefaultCacheSignatureProviders |
Gets or sets the default value for caching of SignatureProvider's. |
DefaultSignatureProviderObjectPoolCacheSize |
Gets or sets the maximum size of the object pool used by the SignatureProvider that are used for crypto objects. |
SignatureProviderObjectPoolCacheSize |
Gets or sets the maximum size of the object pool used by the SignatureProvider that are used for crypto objects. |
Methods
CreateAuthenticatedEncryptionProvider(SecurityKey, String) |
Creates an instance of AuthenticatedEncryptionProvider for a specific |
CreateForSigning(SecurityKey, String) |
Creates a SignatureProvider for signing with the specified |
CreateForSigning(SecurityKey, String, Boolean) |
Creates a SignatureProvider for signing with the specified |
CreateForVerifying(SecurityKey, String) |
Creates a SignatureProvider for verifying signatures with the specified |
CreateForVerifying(SecurityKey, String, Boolean) |
Creates a SignatureProvider for verifying signatures with the specified |
CreateHashAlgorithm(HashAlgorithmName) |
Creates a HashAlgorithm instance for a specific hash algorithm. |
CreateHashAlgorithm(String) |
Creates a HashAlgorithm instance for a specific hash algorithm. |
CreateKeyedHashAlgorithm(Byte[], String) |
Creates a KeyedHashAlgorithm instance for a specific keyed hash algorithm. |
CreateKeyWrapProvider(SecurityKey, String) |
Creates an instance of KeyWrapProvider for a specific |
CreateKeyWrapProviderForUnwrap(SecurityKey, String) |
Creates an instance of KeyWrapProvider for a specific |
IsSupportedAlgorithm(String) |
Determines whether the specified hash algorithm is supported. |
IsSupportedAlgorithm(String, SecurityKey) |
Checks if the specified algorithm and SecurityKey are supported. |
ReleaseHashAlgorithm(HashAlgorithm) |
Releases resources associated with a HashAlgorithm instance. The default behavior is to call Dispose(). |
ReleaseKeyWrapProvider(KeyWrapProvider) |
Releases resources associated with a KeyWrapProvider instance. |
ReleaseRsaKeyWrapProvider(RsaKeyWrapProvider) |
Releases resources associated with an RsaKeyWrapProvider instance. |
ReleaseSignatureProvider(SignatureProvider) |
Releases resources associated with a SignatureProvider instance. |
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示