Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding certificate to a Web Service from a string
Message
De
22/08/2012 10:36:39
 
 
À
22/08/2012 10:26:48
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01550969
Message ID:
01550994
Vues:
53
>Not sure what you are asking. ClientCertificates.Add() can only take a X509Certificate as a paremeter and a X509 certificate can only obtained by passing either a filename or a byte[] to the constructor (or by using an Import() overload with the same parameters)
>
>What 'string' are you referring to ?

The certificate is from the database. So, I would like to avoid creating a file on disk so to simply be able to use this Add() method. From the database, I have it into a string. I would like to pass a string. Are you saying that I can also convert my string into a byte and pass a byte instead?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform