class SignatureVerifier {

    static boolean verify(byte[] signature, String publicKeyPEM, String signedContent) {
        SubjectPublicKeyInfo publicKeyInfo = parsePublicKeyInfo(publicKeyPEM);
        PublicKey publicKey = convertPublicKeyInfoToPublicKey(publicKeyInfo);
        return verifySignature(signature, publicKey, signedContent);
    }

}