In this post I will write how to:
1) detach signature that is attached to the data
2) view the content of signature.
Bouncy Castle is a good library but it is hard to find something in its documentation.
Here is the class that detaches the signature and writes the content of data to the File: