Introduction - If you have any usage issues, please Google them yourself
Java digital signature, digital certificates instance.
Digital Signature: generate RSA key pairs the (myKeyPair), RSA key pair, resulting in the Signature object with the private key information (info) the signature, signature object with the specified algorithm to initialize the Signature object with the private key, the data transfer will be the signature to the signature object (to be initialized), the results with the public key to verify the signature using the public key to initialize the signature object is used to verify the signature.