DekGenius.com
[ Team LiB ] Previous Section Next Section

HttpClientCertificate

System.Web (system.web.dll)class

This class exposes a name/value collection of certification fields specified in the X.509 standard. To get the certification fields for the current request, use the ClientCertificate property of the HttpRequest class. Note that the certification fields are sent only if the client browser is accessing the page through SSL (indicated by a URL starting with https:// instead of http://).

public class HttpClientCertificate : System.Collections.Specialized.NameValueCollection {
// Public Instance Properties
   public byte[ ] BinaryIssuer{get; }
   public int CertEncoding{get; }
   public byte[ ] Certificate{get; }
   public string Cookie{get; }
   public int Flags{get; }
   public bool IsPresent{get; }
   public string Issuer{get; }
   public bool IsValid{get; }
   public int KeySize{get; }
   public byte[ ] PublicKey{get; }
   public int SecretKeySize{get; }
   public string SerialNumber{get; }
   public string ServerIssuer{get; }
   public string ServerSubject{get; }
   public string Subject{get; }
   public DateTime ValidFrom{get; }
   public DateTime ValidUntil{get; }
// Public Instance Methods
   public override string Get(string field);       // overrides NameValueCollection
}

Hierarchy

System.Object System.Collections.Specialized.NameObjectCollectionBase(System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback) System.Collections.Specialized.NameValueCollection HttpClientCertificate

Returned By

HttpRequest.ClientCertificate

    [ Team LiB ] Previous Section Next Section