VssClientCertificateManager Class
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Services.Client.VssClientCertificateManager
Namespace: Microsoft.VisualStudio.Services.Client
Assembly: Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)
Syntax
'Declaration
Public Class VssClientCertificateManager _
Implements IVssClientCertificateManager
public class VssClientCertificateManager : IVssClientCertificateManager
public ref class VssClientCertificateManager : IVssClientCertificateManager
type VssClientCertificateManager =
class
interface IVssClientCertificateManager
end
public class VssClientCertificateManager implements IVssClientCertificateManager
The VssClientCertificateManager type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VssClientCertificateManager | Creates a new VssClientCertificateManager. |
Top
Properties
Name | Description | |
---|---|---|
ClientCertificates | The set of client certificates held by this VssClientCertificateManager. | |
Instance | Static instance of the VssClientCertificateManager. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetClientAuthCertificates | Given 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 | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invalidate | Invalidates 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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadDisableClientCertificates | Reads (from the registry) whether or not client certificates are disabled. | |
ReadEffectiveDisableClientCertificates | Reads (from the registry) whether or not client certificates are disabled. | |
ReadEffectiveSpecifiedCertificateThumbprints | Reads (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. | |
ReadSpecifiedCertificateThumbprints | Reads (from the registry) the specified certificate thumbprints. Returns an empty array if no thumbprints are found. This method does not filter out duplicates. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WriteDisableClientCertificates | Writes (to the registry) whether or not client certificates are disabled. | |
WriteSpecifiedCertificateThumbprints | Writes (to the registry) the specified certificate thumbprints. This method will filter out duplicate thumbprints. |
Top
Fields
Name | Description | |
---|---|---|
OID_EXTENDED_KEY_USAGE | ||
OID_EXTENDED_KEY_USAGE_ANY | ||
OID_PKIX_KP_CLIENT_AUTH |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.