Skip to content

Commit

Permalink
Make KasMetadata properties public
Browse files Browse the repository at this point in the history
The properties of the KasMetadata struct within the NanoTDF.swift file were changed from private to public. This update increases the accessibility of the resourceLocator, publicKey, and curve properties, allowing them to be used outside of their defining module.
  • Loading branch information
arkavo-com committed Jul 3, 2024
1 parent 23432e3 commit e584c98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OpenTDFKit/NanoTDF.swift
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ public func initializeSmallNanoTDF(kasResourceLocator: ResourceLocator) -> NanoT
}

public struct KasMetadata {
let resourceLocator: ResourceLocator
let publicKey: Any
let curve: Curve
public let resourceLocator: ResourceLocator
public let publicKey: Any
public let curve: Curve
}

public func createNanoTDF(kas: KasMetadata, policy: inout Policy, plaintext: Data) throws -> NanoTDF {
Expand Down

0 comments on commit e584c98

Please sign in to comment.