Git Product home page Git Product logo

pdnd-token-sample's Introduction

Hi, I'm Alessio 👋

I am a software developer, a tech enthusiast and an 8-bit lover. In recent years I have mainly worked with .NET technologies, but I like to play everyday with new technologies and frameworks. I am a proud member of DevMarche, the italian network of developer communities from the Marche region (east center Italy).

Language & Tools

My Posts :

Github stats

GitHub Streak Anurag's GitHub stats

Contact me

An image of @defkon1's Holopin badges, which is a link to view their full Holopin profile

pdnd-token-sample's People

Contributors

defkon1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

pdnd-token-sample's Issues

Errore apertura certificati

Ciao,
ho generato un certificato usando la documentazione a corredo del PDND (https://docs.pagopa.it/interoperabilita-1/manuale-operativo/client-e-materiale-crittografico#generare-il-materiale-crittografico).

Per poter leggere la chiave primaria (il file PEM generato) nel tuo codice, ho dovuto modificare la funzione GetSecurityParameters in questo modo:

private RSAParameters GetSecurityParameters(string keyPath)
{
    RSAParameters rsaParams;
    using (var tr = new StringReader(File.ReadAllText(keyPath).Trim()))
    {
        var pemReader = new PemReader(tr);
        var keyPair = pemReader.ReadObject() as RsaPrivateCrtKeyParameters;
        if (keyPair == null)
        {
            throw new Exception("Could not read RSA private key");
        }
        rsaParams = DotNetUtilities.ToRSAParameters(keyPair);
    }

    return rsaParams;
}

ti torna questa modifica?

grazie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.