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.