Archived Forum Post

Index of archived forum posts


Generate RSA Public/Private Key Pair

Jul 31 '12 at 16:26

Please see the example below.

Dim privkey As New privateKey privkey.LoadXml privateKeyXml

privkey.SaveRsaPemFile "privateKey.pem"

Longo = privkey.SavePkcs8EncryptedFile("cavalo", "ChavePrivada.pem")

quetion: the "privateKey.pem" and "ChavePrivada.pem" are the same, better, the string signed by both are equal ?


The different methods are simply providing the ability to store the same private key in different file formats.