class KeyPair {

  public static KeyPair random() {
    return CryptoEngines.defaultEngine().createKeyGenerator().generateKeyPair();
  }

  private  KeyPair(
      final Optional<PrivateKey> privateKey, final PublicKey publicKey, CryptoEngine engine);

}