docs: public static KeyPair getKeyPair(KeyStore keyStore, char[] password, String alias) {
  		PublicKey publicKey;
  		PrivateKey privateKey;
  		try {
  			publicKey = keyStore.getCertificate(alias).getPublicKey();
  			privateKey = (PrivateKey) keyStore.getKey(alias, password);
  		} catch (Exception e) {
  			throw new CryptoException(e);
  		}
  		return new KeyPair(publicKey, privateKey);
  	}