C# Class Internal.Cryptography.Pal.ChainPal

Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
BuildChain ( bool useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, System.DateTime verificationTime, System.TimeSpan timeout ) : IChainPal
Dispose ( ) : void
FromHandle ( IntPtr chainContext ) : IChainPal
ReleaseSafeX509ChainHandle ( IntPtr handle ) : bool
Verify ( X509VerificationFlags flags, Exception &exception ) : bool?

Does not throw on api error. Returns default(bool?) and sets "exception" instead.

Private Methods

Méthode Description
SaveIntermediateCertificates ( X509ChainElement chainElements, HashSet downloaded ) : void

Method Details

BuildChain() public static méthode

public static BuildChain ( bool useMachineContext, ICertificatePal cert, X509Certificate2Collection extraStore, OidCollection applicationPolicy, OidCollection certificatePolicy, X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, System.DateTime verificationTime, System.TimeSpan timeout ) : IChainPal
useMachineContext bool
cert ICertificatePal
extraStore System.Security.Cryptography.X509Certificates.X509Certificate2Collection
applicationPolicy System.Security.Cryptography.OidCollection
certificatePolicy System.Security.Cryptography.OidCollection
revocationMode X509RevocationMode
revocationFlag X509RevocationFlag
verificationTime System.DateTime
timeout System.TimeSpan
Résultat IChainPal

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FromHandle() public static méthode

public static FromHandle ( IntPtr chainContext ) : IChainPal
chainContext System.IntPtr
Résultat IChainPal

ReleaseSafeX509ChainHandle() public static méthode

public static ReleaseSafeX509ChainHandle ( IntPtr handle ) : bool
handle System.IntPtr
Résultat bool

Verify() public méthode

Does not throw on api error. Returns default(bool?) and sets "exception" instead.
public Verify ( X509VerificationFlags flags, Exception &exception ) : bool?
flags X509VerificationFlags
exception System.Exception
Résultat bool?