Secure Communication Module User’s Guide : PART II Secure Sockets Package : Chapter 5 Advanced Topics : Using RWAsymmetricKey
Using RWAsymmetricKey
RWAsymmetricKey is a thin wrapper of the cryptographic library’s representation of an asymmetric key. The only operations on RWAsymmetricKey are:
construction from an istream or memory
conversion to the low-level type
RWAsymmetricKey is a vehicle for passing key information between functions. Typedefs are provided to RWPublicKey and RWPrivateKey. When constructing keys from an istream, only one key should be in the istream. If your application uses an ifstream, the file should contain only one private key.