question: public boolean verifySignature ( byte [ ] signedObject , byte [ ] mac ) throws Exception { try { PublicKey loggerPubKey = null ; X509Certificate certs [ ] = ksManager . getCertificateChain ( loggerKey ) ; X509Certificate cert = certs [ 0 ] ; loggerPubKey = cert . getPublicKey ( ) ; Signature verifySign = Signature . getInstance ( signingAlgorithm ) ; verifySign . initVerify ( loggerPubKey ) ; verifySign . update ( mac ) ; return verifySign . verify ( signedObject ) ; } catch ( Exception e ) { Debug . error ( "SecureLogHelper.verifySignature() : " + " Exception : " , e ) ; throw new Exception ( e . getMessage ( ) ) ; } }
target:  Verifies the given signature