EldoS | Feel safer!

Software components for data protection, secure storage and transfer

certificates in folder on install of blackbox?

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#462
Posted: 06/16/2006 11:34:11
by George Freeman (Basic support level)
Joined: 06/16/2006
Posts: 9

I've downloaded the secure blackbox product and installed it. There is a certificates folder with the following content.
cert.cer
cert.key
cert.pem
cert.pfx
cert.res
cert.txt

Can you tell me what the different extensions here mean?
cer = certificate?
key = public key?
pem = private key?
pfx = private key with passphrase?
res = ??

I'm hoping I can use these as public/private keys somehow with your product to encrypt and decrypt a file using public and private keys.

What objects and methods do I use to encrypt a file using the private key (which file?). What objects and methods do I use to decrypt the file using the public key?

If the above files can't be used as an example for this, how do I generate a public and private key pair to do the above operations?

Using c#.

#465
Posted: 06/16/2006 13:16:53
by Ken Ivanov (EldoS Corp.)

Quote
Can you tell me what the different extensions here mean?

The /Certificates folder contains the same X.509 certificate saved in several different formats:
cert.cer - DER-encoded certificate, no private key included,
cert.key - DER-encoded private key,
cert.pem - PEM-encoded certificate, private key included,
cert.pfx - PFX (PKCS#12)-encoded certificate, private key included,
cert.res - resource file with DER-encoded certificate, no private key included,
cert.txt - comment file, contains a passphrase for PFX-encoded certificate.

Quote
What objects and methods do I use to encrypt a file using the private key (which file?). What objects and methods do I use to decrypt the file using the public key?

Private key is used either for decryption or for signing. Encryption is usually done with a public key.

First of all, you need to determine which encryption standard do you need to be conformant to. SecureBlackbox supports PGP and PKCS#7 encryption standards.

Quote
If the above files can't be used as an example for this, how do I generate a public and private key pair to do the above operations?

PGP keys can be generated using PGPKeysDemo application. X.509 certificates can be generated by CertDemo application.
#490
Posted: 06/19/2006 13:53:40
by George Freeman (Basic support level)
Joined: 06/16/2006
Posts: 9

Thanks for responding. Yes, sorry for the terminology, I'm trying to encrypt using the public key.

Reply

Statistics

Topic viewed 3402 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!