diff --git a/src/CliWrapper.php b/src/CliWrapper.php new file mode 100644 index 0000000..551ebee --- /dev/null +++ b/src/CliWrapper.php @@ -0,0 +1,35 @@ +fingerPrint; + } +} diff --git a/src/GPG.php b/src/GPG.php new file mode 100644 index 0000000..051c14f --- /dev/null +++ b/src/GPG.php @@ -0,0 +1,40 @@ +id; + } +} diff --git a/src/KeyInfo.php b/src/KeyInfo.php new file mode 100644 index 0000000..8f655fb --- /dev/null +++ b/src/KeyInfo.php @@ -0,0 +1,11 @@ +gpg = new \Gnupg(); + } + + public function importPublicKey(string $keyData): PublicKey + { + // TODO: Implement importPublicKey() method. + } + + public function importSecretKey(string $keyData): SecretKey + { + // TODO: Implement importSecretKey() method. + } + + public function verify(string $message, Signature $signature): KeyInfo + { + // TODO: Implement verify() method. + } + + public function sign(SecretKey $privateKey, string $message): Signature + { + // TODO: Implement sign() method. + } +} diff --git a/src/PublicKey.php b/src/PublicKey.php new file mode 100644 index 0000000..7243af6 --- /dev/null +++ b/src/PublicKey.php @@ -0,0 +1,26 @@ +