RemoteAttachment
public struct RemoteAttachment
Undocumented
-
Undocumented
See moreDeclaration
Swift
public enum Scheme : String -
Undocumented
Declaration
Swift
public var url: String -
Undocumented
Declaration
Swift
public var contentDigest: String -
Undocumented
Declaration
Swift
public var secret: Data -
Undocumented
Declaration
Swift
public var salt: Data -
Undocumented
Declaration
Swift
public var nonce: Data -
Undocumented
Declaration
Swift
public var scheme: Scheme -
Undocumented
Declaration
Swift
public var contentLength: Int? -
Undocumented
Declaration
Swift
public var filename: String? -
Undocumented
Declaration
Swift
public init( url: String, contentDigest: String, secret: Data, salt: Data, nonce: Data, scheme: Scheme, contentLength _: Int? = nil, filename _: String? = nil ) throws -
Undocumented
Declaration
Swift
public init(url: String, encryptedEncodedContent: EncryptedEncodedContent) throws -
Undocumented
Declaration
Swift
public static func encodeEncrypted<Codec: ContentCodec, T>(content: T, codec: Codec) throws -> EncryptedEncodedContent where Codec.T == T -
Undocumented
Declaration
Swift
public static func encodeEncryptedBytes(encodedContent: Data, filename: String) throws -> EncryptedEncodedContent -
Undocumented
Declaration
Swift
public static func decryptEncoded(encrypted: EncryptedEncodedContent) throws -> EncodedContent -
content()AsynchronousUndocumented
Declaration
Swift
public func content() async throws -> EncodedContent
RemoteAttachment Structure Reference