EldoS | Feel safer!

Software components for data protection, secure storage and transfer

About TElSecureClient class

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#5709
Posted: 04/02/2008 00:48:22
by  xu cong
Whether does the TElSecureClient class use in the wab procedure?
It's better to have dome.
Because of SSLClientDemo is winform form.
#5710
Posted: 04/02/2008 00:52:40
by  xu cong
Whether does the TElSecureClient class use in the web procedure?
It's better to have dome.
Because of SSLClientDemo is winform form.
Code
    private void SetControlText(Control ctrl, string s)
    {
        if (ctrl.InvokeRequired)
        {
            SetControlTextCallback d = new SetControlTextCallback(SetControlText);
            this.Invoke(d, new object[] { ctrl, s });
        }
        else
        {
            ctrl.Text = s;
        }
    }

This section of codes can't be used in the webpage procedure
#5720
Posted: 04/03/2008 04:38:44
by  xu cong
How to get PublicKey in CSR information?
Looks like get PublicKeySize:
Code
Byte[] Pem;
string CSR = TextBox1.Text;
TElCertificateRequest FRequest = new TElCertificateRequest();

Pem = SBUtils.Unit.StrToUTF8(CSR);
FRequest.LoadFromBufferPEM(Pem);
int PKSize = FRequest.PublicKeySize;
return PKSize;

#5721
Posted: 04/03/2008 05:11:46
by Ken Ivanov (EldoS Corp.)

I do not understand your question regarding web forms, sorry. ElSecureClient can be used in both win- and web forms applications.

Please do not post messages related to different topics under the same topic.
#8216
Posted: 11/18/2008 20:55:19
by Thanh Nguyen Trung (Priority Standard support level)
Joined: 09/12/2008
Posts: 73

Could you please show me the way to get some fileds of SubjectAlternativeName including:
+Globally Unique Identifier (GUID)
+Object Identifier
+User Principal Name (UPN)
#8219
Posted: 11/19/2008 02:17:35
by Ken Ivanov (EldoS Corp.)

In general words, you should do the following: iterate over TElX509Certificate.Extensions.SubjectAlternativeName.Content.Names[] list items, checking if every particular item contains the information you need to check. AFAIK, the properties you have specified (GUID, OID and UPN) are usually of OtherName type (i.e., you should check that the NameType property of a particular TElGeneralName object is set to gnOtherName value and then read the value of OtherName.OID and OtherName.Value properties).

Please use the following OIDs to identify the fields:
GUID: 1.3.6.1.4.1.311.25.1,
UPN: 1.3.6.1.4.1.311.20.2.3

Unfortunately, we do not know the object identifier for OID field.
#8220
Posted: 11/19/2008 03:37:15
by Thanh Nguyen Trung (Priority Standard support level)
Joined: 09/12/2008
Posts: 73

Thanks you. I must try this immediatelly.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 2127 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!