Register Register Member Login Member Login Member Login Forgot Password ??
PHP , ASP , ASP.NET, VB.NET, C#, Java , jQuery , Android , iOS , Windows Phone
 

Registered : 109,027

HOME > ASP > ASP Object > ASP Request.ClientCertificate() - Request Object



Clound SSD Virtual Server

ASP Request.ClientCertificate() - Request Object

Request.ClientCertificate() เป็น Collections เป็นการรับข้อมูลจาก Client โดยจะทำการอ่านค่า Field ที่มีการ Certificate จาก Browser เพื่อยืนยันความถูกต้องของข้อมูล ซึ่งเป็นความสามารถที่นอกเหนือจากการเข้ารหัสด้วยข้อกำหนดของ SSL

Syntax

<%
Request.ClientCertificate(Key[SubField])
%>


Key

Value Meaning

Certificate

A string containing the binary stream of the entire certificate content in ASN.1 format. This is useful to discover if special SubFields are present that are not listed below.

Flags

A set of flags that provides additional client certificate information. If Flags is set to 1, a client certificate is present. If Flags is set to 2, the last certificate in this chain is from an unknown issuer.

Issuer

A string that contains a list of subfield values containing information about the issuer of the certificate. If this value is specified without a SubField , the ClientCertificate collection returns a comma-separated list of subfields. For example, C=US, O=Verisign, and so on.

SerialNumber

A string that contains the certification serial number as an ASCII representation of hexadecimal bytes separated by hyphens (-). For example, 04-67-F3-02.

Subject

A string that contains a list of subfield values. The subfield values contain information about the subject of the certificate. If this value is specified without a SubField , the ClientCertificate collection returns a comma-separated list of subfields. For example, C=US, O=Msft, and so on.

ValidFrom

A date specifying when the certificate becomes valid. This date follows VBScript format and varies with international settings. For example, in the United States, 9/26/96 11:59:59 P.M.. The year value is displayed as a four-digit number.

ValidUntil

A date specifying when the certificate expires. The year value is displayed as a four-digit number.



SubField

Value Meaning

C

Specifies the name of the country/region of origin.

CN

Specifies the common name of the user. (This subfield is only used with the Subject key.)

GN

Specifies a given name.

I

Specifies a set of initials.

L

Specifies a locality.

O

Specifies the company or organization name.

OU

Specifies the name of the organizational unit.

S

Specifies a state or province.

T

Specifies the title of the person or organization.



ASPRequestClientCertificate.asp

<% Option Explicit %>
<html>
<head>
<title>ThaiCreate.Com ASP Request Object</title>
</head>
<body>
<%
 Dim strKey
 For Each strKey in Request.ClientCertificate
    Response.Write strkey & " = " & Request.ClientCertificate(strkey) & "<BR>" 
 Next
%>
</body>
</html>



Reference : http://msdn.microsoft.com/en-us/library/ms524668.aspx







   
Share

Property & Method (Others Related)

ASP Request Object
ASP Request.Cookies() - Request Object
ASP Request.Form() - Request Object
ASP Request.QueryString() - Request Object
ASP Request.ServerVariables() - Request Object
ASP Request.TotalBytes() - Request Object
ASP Request.BinaryRead() - Request Object

ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท


ลองใช้ค้นหาข้อมูล


   


Bookmark.   
       
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rating :  
  Create/Update Date : 2008-09-28 17:42:16 / 2009-05-10 20:11:49
  Download : No files
 Sponsored Links / Related

 
ASP Request Object
Rating :

 
ASP Response Object
Rating :

 
ASP Session Object
Rating :

 
ASP Cookies Object
Rating :

 
ASP Application Object
Rating :

 
ASP Server Object
Rating :

 
ASP Error Object
Rating :

 
ASP Dictionary Object
Rating :

 
ASP On Error Resume Next
Rating :


ThaiCreate.Com Forum


Comunity Forum Free Web Script
Jobs Freelance Free Uploads
Free Web Hosting Free Tools

สอน PHP ผ่าน Youtube ฟรี
สอน Android การเขียนโปรแกรม Android
สอน Windows Phone การเขียนโปรแกรม Windows Phone 7 และ 8
สอน iOS การเขียนโปรแกรม iPhone, iPad
สอน Java การเขียนโปรแกรม ภาษา Java
สอน Java GUI การเขียนโปรแกรม ภาษา Java GUI
สอน JSP การเขียนโปรแกรม ภาษา Java
สอน jQuery การเขียนโปรแกรม ภาษา jQuery
สอน .Net การเขียนโปรแกรม ภาษา .Net
Free Tutorial
สอน Google Maps Api
สอน Windows Service
สอน Entity Framework
สอน Android
สอน Java เขียน Java
Java GUI Swing
สอน JSP (Web App)
iOS (iPhone,iPad)
Windows Phone
Windows Azure
Windows Store
Laravel Framework
Yii PHP Framework
สอน jQuery
สอน jQuery กับ Ajax
สอน PHP OOP (Vdo)
Ajax Tutorials
SQL Tutorials
สอน SQL (Part 2)
JavaScript Tutorial
Javascript Tips
VBScript Tutorial
VBScript Validation
Microsoft Access
MySQL Tutorials
-- Stored Procedure
MariaDB Database
SQL Server Tutorial
SQL Server 2005
SQL Server 2008
SQL Server 2012
-- Stored Procedure
Oracle Database
-- Stored Procedure
SVN (Subversion)
แนวทางการทำ SEO
ปรับแต่งเว็บให้โหลดเร็ว


Hit Link
   







Load balance : Server 04
ThaiCreate.Com Logo
© www.ThaiCreate.Com. 2003-2024 All Rights Reserved.
ไทยครีเอทบริการ จัดทำดูแลแก้ไข Web Application ทุกรูปแบบ (PHP, .Net Application, VB.Net, C#)
[Conditions Privacy Statement] ติดต่อโฆษณา 081-987-6107 อัตราราคา คลิกที่นี่