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