Skip to content

Commit

Permalink
feat: add SymmetricKey as a KeyRepresentable
Browse files Browse the repository at this point in the history
  • Loading branch information
beatt83 committed Dec 7, 2024
1 parent e7bd1ec commit 1d48cab
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ extension secp256k1.KeyAgreement.PrivateKey: KeyRepresentable {
extension secp256k1.KeyAgreement.PublicKey: KeyRepresentable {
public var jwk: JWK { self.jwkRepresentation }
}
extension SymmetricKey: KeyRepresentable {
public var jwk: JWK { self.jwkRepresentation }
}
extension SecKey: KeyRepresentable {
public var jwk: JWK {
get throws {
Expand Down

0 comments on commit 1d48cab

Please sign in to comment.