title: String to PublicKey in JAVA
body: <p>I'm write program Digitalsignature with java
  now i can send public key and signature to receiver 
  But when receiver received my public key and signature</p>
  
  <p>it's Type Of String(Base64) (i need to send String data)</p>
  
  <p>How to revert String(Base64) to PublicKey(Type) again</p>
  
  <pre><code>public verifiSign(String signature,String data)  {
  String publickey="MIG...."
  
  
      Signature sig = Signature.getInstance("SHA1withRSA");
  
      sig.initVerify(publickey); //&lt;-- Cannot  use String
      sig.update(data.getBytes());
      boolean verified = sig.verify(asBytes(signature));
      System.out.println("Verify = " + verified);
  
  
  
  }
  </code></pre>
  
  <p>Please help me 
  Thank you</p>