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
76
stars
6
forks
source link
Various improvements to `Asn1Integer`
#200
Closed
iaik-jheher
closed
1 week ago
iaik-jheher
commented
1 week ago
fromByteArray
sign-magnitude constructor
fromUnsignedByteArray
magnitude constructor
Cleanly handle empty magnitude and negative zero
Helpers to convert to/from iospin BigInt and Java BigInt
public accessors for
isZero
,
magnitude
and
bitLength
fromByteArray
sign-magnitude constructorfromUnsignedByteArray
magnitude constructorisZero
,magnitude
andbitLength