protected void init() throws Exception {
   prikey = globusCred.getPrivateKey();
   pubkey = globusCred.getCertificateChain()[0].getPublicKey();
   if (pubkey == null) {
     throw new Exception("public key null");
   }
 }
 protected void loadCertificate(ServerResponseTokenType srt) throws Exception {
   srt.setPublicKey(globusCred.getCertificateChain()[0].getEncoded());
 }