Ensure no leading zero byte on RSA mod

Issue #106 resolved
Connect2id OSS created an issue

http://www.ietf.org/mail-archive/web/jose/current/msg04297.html

6.3.1.1. "n" (Modulus) Parameter


   The "n" (modulus) member contains the modulus value for the RSA
   public key.  It is represented as the base64url encoding of the
   value's unsigned big endian representation as an octet sequence.  The
   octet sequence MUST utilize the minimum number of octets to represent
   the value.

Comments (2)

  1. Log in to comment