digital signature in iOS， include import public key， generate SHA1 hash digest and verify signature.