BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
Microsoft ASP
The Request.BinaryRead Method
The Request Object
The ObjectContext.SetComplete Method
The ObjectContext.SetAbort Method
The ObjectContext.OnTransactionCommit Event
The ObjectContext.OnTransactionAbort Event
The ObjectContext Object
The Application.StaticObjects Collection
The Application.Contents Collection
The Application.UnLock Method
The Application.Lock Method
The Application.Contents.RemoveAll() Method
The Application.Contents.Remove(name|index) Method
The Application.OnStart() Event
The Application.OnEnd() Event
The Application Object
The ASPError.Source Property
The ASPError.Number Property
The ASPError.Line Property
The ASPError.File Property
<< LAMP
 

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :652

 

The Request.ClientCertification Property

Introduction

The Request.ClientCertification property is used to retrieve the information of the client certification (SSL).  SSL also known as Secure Socket Layer is be used to send data in a secure way. To run this property secure socket layer must be enabled on the web server. Furthermore you have to use the https:// in the URL instead of http:// - note the extra “s” which stands for secure. This property takes two parameters, the first one is necessary and the second is option. The first parameter “Key” is used to specify the name of the field to retrieve from the client certification. The second parameter “SubField” is used to get an individual field in Issuser or Subject key. The following table lists all available values for key and subfield.

Key

Name:

Description:

Certificate

This value is used to retrieve the binary stream of the complete client certificate.

Flags

This value can be used to retrieve additional information about the client certificate. You can either set the flag to 1 or 0. 1 means that the client certificate is present and 0 means that the client certificate is from an unknown issuer.

Issuer

This value can be used to retrieve information about the issuer.

SerialNumber

This value can be used to retrieve the serial number of the client certification.

Subject

This value can be used to retrieve the information about the subject of the client certification.

ValidFrom

This value can be used to retrieve the date when the client certificate becomes valid.

ValidUntil

This value is used to retrieve information about the expiration of the client certificate.

SubField

Name:

Description:

C

This value specifies the name of the Country or region of the origion.

CN

This value specifies the common name of the user.

GN

This value specifies the given name of the user.

I

This value specifies the initials.

L

This value specifies the locality.

O

This value specifies the company or organization name.

OU

This value specifies the name of the organizational unit.

S

This value specifies the state.

T

This value specifies the title of the user or organization.

Example

<%

            Response.Write "Certificate: " & Request.ClientCertificate("Certificate") & "<br/>"

            Response.Write "Certificate: " & Request.ClientCertificate("ValidFrom") & "<br/>"

%>


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

A great opportunity to Digital Vide
here is a greate opportunity as a S
A great opportunity as a Network En
A Greate Opportunituy as a SQL Deve
An immediate job opportunity as a B

View all Jobs (Add yours)
View all CV (Add yours)



Information Online

swimming pool builder
chicago web site design
conference call for CA
Domain Names
it outsourcing
Emporio armani sunglasses
answering service


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP