sign

inline suspend fun <T> SignService.sign(unsignedObject: T, signWith: SignWith = SignWith.DeviceKey): Signed<T, UserId>
inline suspend fun <T> SignService.sign(signedObject: Signed<T, UserId>, signWith: SignWith = SignWith.DeviceKey): Signed<T, UserId>