fix
This commit is contained in:
parent
93ab2712a8
commit
ba09f38c40
@ -6,7 +6,7 @@
|
||||
//
|
||||
import Foundation
|
||||
|
||||
protocol AESCipher {
|
||||
public protocol AESCipher {
|
||||
func decypt(aesKey: Data, data: Data) throws -> Data
|
||||
|
||||
func encrypt(aesKey: Data, data: Data) throws -> Data
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
//
|
||||
import Foundation
|
||||
|
||||
protocol RSACipher {
|
||||
public protocol RSACipher {
|
||||
var pubKey: String {get set}
|
||||
|
||||
func decode(data: Data) throws -> Data
|
||||
|
||||
@ -8,7 +8,7 @@ import Foundation
|
||||
import NIOCore
|
||||
|
||||
// 配置项目
|
||||
final class SDLConfiguration {
|
||||
public class SDLConfiguration {
|
||||
|
||||
struct StunServer {
|
||||
let host: String
|
||||
|
||||
@ -15,7 +15,7 @@ import Combine
|
||||
1. 处理rsa的加解密逻辑
|
||||
*/
|
||||
|
||||
class SDLContext: @unchecked Sendable {
|
||||
public class SDLContext: @unchecked Sendable {
|
||||
|
||||
// 路由信息
|
||||
struct Route {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user