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