diff --git a/lib/crypto.php b/lib/crypto.php new file mode 100644 index 0000000..447e2d7 --- /dev/null +++ b/lib/crypto.php @@ -0,0 +1,30 @@ +file = $file; + } + + public function hashAsBase64(int $hashAlg) : string { + return ""; + } +} + +class Crypto { + + public static function certificateHashAsBase64(string $certificateFile, int $hashAlg) : string { + return new Certificate($certificateFile) + .hashAsBase64($hashAlg); + } +} + +class Signer { +} \ No newline at end of file