/** * @beforeClass */ public static function createEcdsaKeys() { $keychain = new Keychain(); $dir = 'file://' . __DIR__; static::$ecdsaKeys = ['private' => $keychain->getPrivateKey($dir . '/ecdsa/private.key'), 'public1' => $keychain->getPublicKey($dir . '/ecdsa/public1.key'), 'public2' => $keychain->getPublicKey($dir . '/ecdsa/public2.key')]; }
/** * @beforeClass */ public static function createEcdsaKeys() { $dir = 'file://' . __DIR__; static::$ecdsaKeys = ['private' => new Key($dir . '/ecdsa/private.key'), 'public1' => new Key($dir . '/ecdsa/public1.key'), 'public2' => new Key($dir . '/ecdsa/public2.key')]; }