HttpClientCertificate

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



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net