C# Class Internal.Cryptography.Pal.DirectoryBasedStoreProvider

Provides an implementation of an X509Store which is backed by files in a directory.
Inheritance: IStorePal
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description
DirectoryBasedStoreProvider System
DirectoryBasedStoreProvider System
EnsureDirectoryPermissions void
EnsureFilePermissions void
FindExistingFilename string
FindOpenSlot string
GetDirectoryName string

Méthodes publiques

Méthode Description
Add ( ICertificatePal certPal ) : void
CloneTo ( X509Certificate2Collection collection ) : void
Dispose ( ) : void
Remove ( ICertificatePal certPal ) : void

Private Methods

Méthode Description
DirectoryBasedStoreProvider ( ) : System
DirectoryBasedStoreProvider ( string storeName, OpenFlags openFlags ) : System
EnsureDirectoryPermissions ( string path, uint userId ) : void

Checks the store directory has the correct permissions.

EnsureFilePermissions ( FileStream stream, uint userId ) : void

Checks the file has the correct permissions and attempts to modify them if they're inappropriate.

FindExistingFilename ( X509Certificate2 cert, string storePath, bool &hadCandidates ) : string
FindOpenSlot ( string thumbprint ) : string
GetDirectoryName ( string storeName ) : string

Method Details

Add() public méthode

public Add ( ICertificatePal certPal ) : void
certPal ICertificatePal
Résultat void

CloneTo() public méthode

public CloneTo ( X509Certificate2Collection collection ) : void
collection System.Security.Cryptography.X509Certificates.X509Certificate2Collection
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Remove() public méthode

public Remove ( ICertificatePal certPal ) : void
certPal ICertificatePal
Résultat void