Re: Public Key Authentication with C++ Builder 6 - WeOnlyDo Discussion board

Re: Public Key Authentication with C++ Builder 6 (General questions)

by wodSupport, Friday, July 22, 2005, 11:37 (7064 days ago) @ David Lucas

David,

I checked this code in VB and it works correctly, so you can put full private key as argument to Load method, instead of pointing it to a file: [code]wodKeys.Load -----BEGIN RSA PRIVATE KEY----- & vbCrLf & _
MIICWwIBAAKBgQDGMw364uWetSfhM+7QyxVRWUXcnkg4Y6ffYayck77uKFmh0zEQ & vbCrLf & _
3oz5G0lg2TjGVpwva6BIzrQSlXSCvp4IW80UclqyoK2hbGQGtVLKfeqzymAp7HNF & vbCrLf & _
VQtc7DiDKa0UxWQmsD2389TPFaoFP3sLCV+1ksr6JAbBHClI1zs1WyJx1QIBIwKB & vbCrLf & _
gDL3L3sHJRoulTnoyGGTTp/jwYHfjuntvXP0i3i4RwoKYDDtKd/EMuD4Y1NrDplm & vbCrLf & _
unKYBKUB88pDsD7gjwl2sRNuIOyMmeeBr6tSR3NwD7aT9q5A9LfjS4J1CeccL2pp & vbCrLf & _
zhAv48t3JcBH4Y/IgDFXoJaoeBTN5N/ucjKIv5XDPj1LAkEA/3NsgSWItIgIHXf3 & vbCrLf & _
BG2hpDbn4WTdKss5gVM1Us/vCPiCq9qbYzTWtSzlOi7bi2O98nt77lXgOYu/n7tG & vbCrLf & _
I7jjxQJBAMagH/y/zU2/DwKMEozOL63buNWPnQuotk5pdb6Wh+gRZRFCk4hifmVl & vbCrLf & _
RjJ2GkWn5p9gENwaXZioi85d/iOwZtECQQDpjhoPrUnJoPF6B0g+kB7CBlBZC8Ll & vbCrLf & _
TBdRqylwSRUPhB+zEQMY39o/Pv13BkURukdEGSDZ6B12cSQ6RNJpzZ0LAkARBmkk & vbCrLf & _
SvRXHwFJXHaeWtDjBDRqE5+/K7fa1dbkc016SqJDTtlyFxIl8rzfwPrwBxPEhJO7 & vbCrLf & _
GDPog3mymlecqLhbAkEAu3xh8WNQpHsdmYWZzvaezwMv0cv+MzGzLFnZprBEksdp & vbCrLf & _
RBxrZBrzIVAcCGOvpbUt3Btj3KZKkJvf0zh4utf1hQ== & vbCrLf & _
-----END RSA PRIVATE KEY----- [/code]


Complete thread: