コード例 #1
0
 public String getPublicKey() {
   RSAPublicKey publicKey = cipherMgr.getPublicKey();
   if (null != publicKey) {
     return Base64Utils.encode(publicKey.getEncoded());
   } else {
     return null;
   }
 }
コード例 #2
0
 public void updatePrivateKey() throws Exception {
   cipherMgr.updatePrivateKey();
 }
コード例 #3
0
 public void updateSystemKey() throws Exception {
   cipherMgr.updateSystemKey();
 }