SaveToBytes Method
Saves the keyring to a byte array.
function SaveToBytes(Secret: Boolean): TBytes;
Remarks
Use this method to save the keyring to a byte array. PGP software typically uses two files to store keyrings. Use Secret parameter to specify which part of the keyring you would like to save (public or secret).