issues
search
a-sit-plus
/
signum
Kotlin Multiplatform Crypto/PKI Library and ASN1 Parser + Encoder
https://a-sit-plus.github.io/signum/
Apache License 2.0
39
stars
2
forks
source link
CryptoSignature rework
#71
Closed
iaik-jheher
closed
3 months ago
iaik-jheher
commented
3 months ago
Store
CryptoSignature
as a pair of integers, instead of byte arrays.
Disallow raw encoding unless the underlying curve's scalar byte length is known.
Require explicit opt-in (
guessCurve
) before guessing byte length of the underlying curve.
Or allow the curve to be specified from context (
withScalarByteLength
,
withCurve
)
CryptoSignature
as a pair of integers, instead of byte arrays.guessCurve
) before guessing byte length of the underlying curve.withScalarByteLength
,withCurve
)