You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package provides amazing Decoding support, but I'm struggling to find how to perform Encoding.
My use case is some CryptoKit.Curve25519.PublicKey data which I want to be encoded as DER, which unfortunately Apple's native API's can't do either (ref and ref).
Wouldn't it be quite straightforward to add toDER functions to all types to support this? I don't want to write all tags in my end-user codebase, but rather reuse the ones from a library such as this one.
The text was updated successfully, but these errors were encountered:
Maybe this also is what #1 author is trying to do (hence exposing the swiftValue), or maybe it is just the usage of the digit, not sure. But I also exposed it at first before moving the Encoder inside the fork (had an extension in my own codebase at first).
This package provides amazing Decoding support, but I'm struggling to find how to perform Encoding.
My use case is some CryptoKit.Curve25519.PublicKey data which I want to be encoded as DER, which unfortunately Apple's native API's can't do either (ref and ref).
Wouldn't it be quite straightforward to add
toDER
functions to all types to support this? I don't want to write all tags in my end-user codebase, but rather reuse the ones from a library such as this one.The text was updated successfully, but these errors were encountered: