RegistrySignature
Information from the signing certificate.
struct RegistrySignature
Information from the signing certificate.
struct RegistrySignature
import PackageModel
struct RegistryReleaseMetadata
init(source: RegistryReleaseMetadata.Source, metadata: RegistryReleaseMetadata.Metadata, signature: RegistrySignature?)
let metadata: Metadata
let signature: RegistrySignature?
let source: Source
struct Metadata
Metadata of the given release, provided by the registry.
enum SigningEntity
enum Source
Information about the source of the release.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
init(from decoder: any Decoder) throws
init(signedBy: SigningEntity?, format: String, value: [UInt8])
let format: String
let signedBy: SigningEntity?
let value: [UInt8]
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.