Breyta

Deila með


HttpClientCertificate Class

Definition

Provides the client certificate fields issued by the client in response to the server's request for the client's identity.

public ref class HttpClientCertificate : System::Collections::Specialized::NameValueCollection
public class HttpClientCertificate : System.Collections.Specialized.NameValueCollection
type HttpClientCertificate = class
    inherit NameValueCollection
Public Class HttpClientCertificate
Inherits NameValueCollection
Inheritance

Remarks

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 https://www.itu.int.

Properties

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.

Methods

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(String, Object)

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(Int32)

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 null.

(Inherited from NameObjectCollectionBase)
BaseRemove(String)

Removes the entries with the specified key from the NameObjectCollectionBase instance.

(Inherited from NameObjectCollectionBase)
BaseRemoveAt(Int32)

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(Array, Int32)

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)
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.

GetEnumerator()

Returns an enumerator that iterates through the NameObjectCollectionBase.

(Inherited from NameObjectCollectionBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetKey(Int32)

Gets the key at the specified index of the NameValueCollection.

(Inherited from NameValueCollection)
GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

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 null.

(Inherited from NameValueCollection)
InvalidateCachedArrays()

Resets the cached arrays of the collection to null.

(Inherited from NameValueCollection)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnDeserialization(Object)

Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.

(Inherited from NameObjectCollectionBase)
Remove(String)

Removes the entries with the specified key from the NameObjectCollectionBase instance.

(Inherited from NameValueCollection)
Set(String, String)

Sets the value of an entry in the NameValueCollection.

(Inherited from NameValueCollection)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

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)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to