wstrange / asn1lib

Dart ASN1 Encoder / Decoder
BSD 2-Clause "Simplified" License
30 stars 30 forks source link

rsa pem file support #2

Closed amaurel closed 10 years ago

amaurel commented 10 years ago

Hello,

The current implementation of ASN1BitString works correctly with the use cases, but it always assume unusedbits == 0. I did not find the time yet to investigate more ...

Regards,

Alex

wstrange commented 10 years ago

OK - thanks Alex.

I merged the pull request. Later today I will update the authors/versions and push to pub

On Wed, Mar 12, 2014 at 8:08 AM, Alex notifications@github.com wrote:

Hello,

The current implementation of ASN1BitString works correctly with the use cases, but it always assume unusedbits == 0. I did not find the time yet to investigate more ...

Regards,

Alex

You can merge this Pull Request by running

git pull https://github.com/amaurel/asn1lib master

Or view, comment on, or merge it at:

https://github.com/wstrange/asn1lib/pull/2 Commit Summary

  • rsa private key support
  • rsa private key support
  • rsa private key support
  • rsa private key support
  • rsa private key support
  • rsa private key support
  • rsa private key support
  • rsa private key support
  • support RSA public key

File Changes

  • M README.mdhttps://github.com/wstrange/asn1lib/pull/2/files#diff-0(34)
  • A lib/asn1bitstring.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-1(43)
  • M lib/asn1constants.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-2(3)
  • M lib/asn1integer.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-3(95)
  • M lib/asn1lib.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-4(5)
  • M lib/asn1null.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-5(8)
  • A lib/asn1objectidentifier.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-6(21)
  • M lib/asn1parser.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-7(11)
  • M pubspec.yamlhttps://github.com/wstrange/asn1lib/pull/2/files#diff-8(3)
  • M test/asn1element_test.darthttps://github.com/wstrange/asn1lib/pull/2/files#diff-9(82)
  • A test/resource/README.mdhttps://github.com/wstrange/asn1lib/pull/2/files#diff-10(2)
  • A test/resource/rsa_private_key.pemhttps://github.com/wstrange/asn1lib/pull/2/files#diff-11(9)
  • A test/resource/rsa_private_key.txthttps://github.com/wstrange/asn1lib/pull/2/files#diff-12(34)
  • A test/resource/rsa_public_key.pemhttps://github.com/wstrange/asn1lib/pull/2/files#diff-13(4)

Patch Links:

Reply to this email directly or view it on GitHubhttps://github.com/wstrange/asn1lib/pull/2 .