public String getPublicKey() { RSAPublicKey publicKey = cipherMgr.getPublicKey(); if (null != publicKey) { return Base64Utils.encode(publicKey.getEncoded()); } else { return null; } }
public void updatePrivateKey() throws Exception { cipherMgr.updatePrivateKey(); }
public void updateSystemKey() throws Exception { cipherMgr.updateSystemKey(); }