HttpClientCertificate Class
Provides the client certificate fields issued by the client in response to the server's request for the client's identity.
System.Collections.Specialized::NameObjectCollectionBase
System.Collections.Specialized::NameValueCollection
System.Web::HttpClientCertificate
Assembly: System.Web (in System.Web.dll)
The HttpClientCertificate type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AllKeys | Gets all the keys in the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | BinaryIssuer | Gets or sets the certificate issuer, in binary format. |
![]() | CertEncoding | Gets the encoding of the certificate. |
![]() | Certificate | Gets a string containing the binary stream of the entire certificate content, in ASN.1 format. |
![]() | Cookie | Gets the unique ID for the client certificate, if provided. |
![]() | Count | Gets the number of key/value pairs contained in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | Flags | A set of flags that provide additional client certificate information. |
![]() | IsPresent | Gets a value that indicates whether the client certificate is present. |
![]() | IsReadOnly | Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only. (Inherited from NameObjectCollectionBase.) |
![]() | Issuer | A string that contains a list of subfield values containing information about the certificate issuer. |
![]() | IsValid | Gets a value that indicates whether the client certificate is valid. |
![]() | Item[Int32] | Gets the entry at the specified index of the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | Item[String] | Gets or sets the entry with the specified key in the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | Keys | Gets a NameObjectCollectionBase::KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | KeySize | Gets the number of bits in the digital certificate key size. For example, 128. |
![]() | PublicKey | Gets the public key binary value from the certificate. |
![]() | SecretKeySize | Gets the number of bits in the server certificate private key. For example, 1024. |
![]() | SerialNumber | Provides the certificate serial number as an ASCII representation of hexadecimal bytes separated by hyphens. For example, 04-67-F3-02. |
![]() | ServerIssuer | Gets the issuer field of the server certificate. |
![]() | ServerSubject | Gets the subject field of the server certificate. |
![]() | Subject | Gets the subject field of the client certificate. |
![]() | ValidFrom | Gets the date when the certificate becomes valid. The date varies with international settings. |
![]() | ValidUntil | Gets the certificate expiration date. |
| Name | Description | |
|---|---|---|
![]() | Add(NameValueCollection) | Copies the entries in the specified NameValueCollection to the current NameValueCollection. (Inherited from NameValueCollection.) |
![]() | Add(String, String) | Adds an entry with the specified name and value to the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | BaseAdd | Adds an entry with the specified key and value into the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseClear | Removes all entries from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGet(Int32) | Gets the value of the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGet(String) | Gets the value of the first entry with the specified key from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGetAllKeys | Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGetAllValues() | Returns an Object array that contains all the values in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGetAllValues(Type) | Returns an array of the specified type that contains all the values in the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseGetKey | Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseHasKeys | Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not nullptr. (Inherited from NameObjectCollectionBase.) |
![]() | BaseRemove | Removes the entries with the specified key from the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseRemoveAt | Removes the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseSet(Int32, Object) | Sets the value of the entry at the specified index of the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | BaseSet(String, Object) | Sets the value of the first entry with the specified key in the NameObjectCollectionBase instance, if found; otherwise, adds an entry with the specified key and value into the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | Clear | Invalidates the cached arrays and removes all entries from the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | CopyTo | Copies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from NameValueCollection.) |
![]() | Equals(Object) | 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.) |
![]() | Get(Int32) | Gets the values at the specified index of the NameValueCollection combined into one comma-separated list. (Inherited from NameValueCollection.) |
![]() | Get(String) | Returns individual client certificate fields by name. (Overrides NameValueCollection::Get(String).) |
![]() | GetEnumerator | Returns an enumerator that iterates through the NameObjectCollectionBase. (Inherited from NameObjectCollectionBase.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetKey | Gets the key at the specified index of the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance. (Inherited from NameObjectCollectionBase.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValues(Int32) | Gets the values at the specified index of the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | GetValues(String) | Gets the values associated with the specified key from the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | HasKeys | Gets a value indicating whether the NameValueCollection contains keys that are not nullptr. (Inherited from NameValueCollection.) |
![]() | InvalidateCachedArrays | Resets the cached arrays of the collection to nullptr. (Inherited from NameValueCollection.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Inherited from NameObjectCollectionBase.) |
![]() | Remove | Removes the entries with the specified key from the NameObjectCollectionBase instance. (Inherited from NameValueCollection.) |
![]() | Set | Sets the value of an entry in the NameValueCollection. (Inherited from NameValueCollection.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | Copies the entire NameObjectCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from NameObjectCollectionBase.) |
![]() ![]() | ICollection::IsSynchronized | Gets a value indicating whether access to the NameObjectCollectionBase object is synchronized (thread safe). (Inherited from NameObjectCollectionBase.) |
![]() ![]() | ICollection::SyncRoot | Gets an object that can be used to synchronize access to the NameObjectCollectionBase object. (Inherited from NameObjectCollectionBase.) |
If a Web browser uses the SSL3.0/PCT1 protocol (the URL begins with https:// instead of http://) to connect to a server and the server requires client certificates, the browser sends the client certificate fields contained in its digital certificate.
For more information about digital certificates, see the document X.509: Public-key and attribute certificate frameworks, available on the International Telecommunication Union (ITU) site at http://www.itu.int.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.






