-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved known values into separate
KnownValues
package.
- Loading branch information
1 parent
83dc8db
commit bf5f0c0
Showing
6 changed files
with
26 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// These re-exports are available to anyone who imports this package. | ||
|
||
import Foundation | ||
@_exported import KnownValues |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import Foundation | ||
import SecureComponents | ||
|
||
extension KnownValue: DigestProvider { | ||
public var digest: Digest { | ||
Digest(taggedCBOR.cborData) | ||
} | ||
} | ||
|
||
extension KnownValue: EnvelopeEncodable { | ||
public var envelope: Envelope { | ||
Envelope(self) | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.