SaveToBytes Method
Saves the keyring to a byte array.
Syntax
public byte[] saveToBytes(boolean secret);
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).