This documentation is archived and is not being maintained.

VssClientCertificateManager Class

Visual Studio 2013

System.Object
  Microsoft.VisualStudio.Services.Client.VssClientCertificateManager

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

'Declaration
Public Class VssClientCertificateManager _
	Implements IVssClientCertificateManager

The VssClientCertificateManager type exposes the following members.

  NameDescription
Public methodVssClientCertificateManagerCreates a new VssClientCertificateManager.
Top

  NameDescription
Public propertyClientCertificatesThe set of client certificates held by this VssClientCertificateManager.
Public propertyStatic memberInstanceStatic instance of the VssClientCertificateManager.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetClientAuthCertificatesGiven a store location, returns the certificates in the store which: a. Are valid given the current date and time b. Can be used for client authentication
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvalidateInvalidates the cached data in the VssClientCertificateManager. Should be called after receiving a 403 on an https request, to pick up new client certificates if necessary. An invalidation is guaranteed to cause only one refresh.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberReadDisableClientCertificatesReads (from the registry) whether or not client certificates are disabled.
Public methodStatic memberReadEffectiveDisableClientCertificatesReads (from the registry) whether or not client certificates are disabled.
Public methodStatic memberReadEffectiveSpecifiedCertificateThumbprintsReads (from the registry) the unified set of thumbprints specified by the environment variable, .config setting, registry (HKCU), and registry (HKLM). This method will not return duplicate thumbprints.
Public methodStatic memberReadSpecifiedCertificateThumbprintsReads (from the registry) the specified certificate thumbprints. Returns an empty array if no thumbprints are found. This method does not filter out duplicates.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodStatic memberWriteDisableClientCertificatesWrites (to the registry) whether or not client certificates are disabled.
Public methodStatic memberWriteSpecifiedCertificateThumbprintsWrites (to the registry) the specified certificate thumbprints. This method will filter out duplicate thumbprints.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: