Contents tagged with RSA

  • Walmart signer

    Hello everybody,

    today I want to preserve at my blog piece of code that almost eaten my brain. Walmart signer. 

    using System;

    using System.Collections.Generic;

    using System.ComponentModel;

    using System.Linq;

    using System.Text;

    using System.Threading.Tasks;

    using System.Globalization;

    using Org.BouncyCastle.Crypto.Parameters;

    using Org.BouncyCastle.Security;

    namespace Walmart

    {

    public class WallmartSigner

    {

    /// <summary>

    /// Begining of time according to Java world.

    /// </summary>

    private static readonly DateTime JanuaryFirst1970 = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);

    /// <summary>

    /// … more