Questions tagged [cer]

In .NET Framework, a constrained execution region (CER) defines an area in which the common language runtime (CLR) is constrained from throwing out-of-band exceptions that would prevent the code in the area from executing in its entirety.

A constrained execution region (CER) is part of a mechanism for authoring reliable managed code. A CER defines an area in which the common language runtime (CLR) is constrained from throwing out-of-band exceptions that would prevent the code in the area from executing in its entirety. Within that region, user code is constrained from executing code that would result in the throwing of out-of-band exceptions. (Excerpt from the MSDN library)

56 questions
0
votes
1 answer

Html Header: Open file instead of download it

I have this code in one asp page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Response.AppendHeader("content-disposition", "attachment; filename=PublicKeyCertificate.cer") Response.ContentType…
Rumpelstinsk
  • 3,107
  • 3
  • 30
  • 57
0
votes
1 answer

Are CER needed to merely protect shared managed states within an AppDomain?

I do have an operation that must be reliably performed as a whole or not be performed at all. The goal is only to preserve the consistency of some in-memory managed shared states. Those states are contained within an application domain. They are…
Victor Victis
  • 313
  • 1
  • 8
0
votes
1 answer

Unable to create .cer

After I formatted my MAC and installed XCode, I wanted to generate the ipa. I navigated to XCode -> Preferences -> Accounts -> View Details, I did not see anything in signing identities table. When I logged in to the developer account, I am not able…
Deepak Thakur
  • 3,453
  • 2
  • 37
  • 65
0
votes
1 answer

How to RSA encrypt using a X509 public with cert file on Android?

I wont to encrypt my string value with .cer file which in asset file. I found this codes for c#. But for Android how can I do that? public string GetEncryptValue(string value) { X509Certificate2 x509_2 = w…
Yiğit
  • 166
  • 2
  • 9
0
votes
1 answer

How to write a VB script that add reg and install cer - that i have in exe package

I'm writing a vb script , that has gui , and also write to the registry , and install certificate that i have. after writing the code i'm using iexpress , to create an exe file that will run all the files (cer and reg files) and install my script .…
user3433101
  • 23
  • 1
  • 4
  • 8
0
votes
1 answer

Adding .pfx file to existing .pkcs8 file

I've been thrown in at the deep end here and most things are assumptions, so please correct me where I go wrong. We currently have an application that references a .pkcs8 file, which I assume is a certificate chain. Recently we've been provided with…
0
votes
1 answer

Private keys in keystore. Which one is used while handshaking?

I am creating adapter for work with web-service, using proxy and ssl connection, and Have one problem with understanding Handshaking mechanism. I will explain one example. My actions: Make server. Create private key with keytool. create .cer file…
RelaxedSoul
  • 644
  • 4
  • 10
0
votes
2 answers

Problems while trying to Read Binary File C++

I'm writing a simple console application in Visual Studio C++. I want to read a binary file with .cer extension to a byte array. ifstream inFile; size_t size = 0; char* oData = 0; inFile.open(path, ios::in|ios::binary); if (inFile.is_open()) { …
user1835297
  • 1,059
  • 2
  • 12
  • 24
-1
votes
1 answer

how does client set the certificate chain in the keystore?

Our client need connect server with Two-way SSL authentication.In my case,I use 'keytool -genkey' to generate a keystore and use 'keytool -certreq' to export a csr file.The server side get my csr file and sign it by a CA,and then return me a new cer…
-1
votes
2 answers

Create P12 or PFK file from CER, PEM, P7B, PKCS8

I would like to create a .p12 or .pfk file. I have the files as below : xx.cer xx.p7b xx.pem xx.pkcs8 I've tried a lot of openssl commands but I could only create a .p12 file of zero bytes. Example of openssl command that I executed : openssl…
tulyy
  • 1
  • 1
  • 1
-2
votes
1 answer

How to get .pfx file from .cer and .key in NodeJS?

How to get .pfx file from .cer and .key in NodeJS? class SAT { constructor() { this.options = { wsdl_options: { pfx: { cer: fs.readFileSync(publicKeyPath), key:…
1 2 3
4