Code Monkey home page Code Monkey logo

Comments (9)

phax avatar phax commented on June 5, 2024

Hi. Calling setMDNOptions ("") should do the trick. But this requires the latest SNAPSHOT (see commit above). If you don't have further questions, I would start building 4.2.0-RC1 now.

from as2-lib.

ihudedi avatar ihudedi commented on June 5, 2024

I didn't understand this solution is for unsigned mdn? Can we send null in mdnoptions for unsigned mdn and for not requested mdn?

from as2-lib.

phax avatar phax commented on June 5, 2024

No, when sending null it falls back to the default (signed, SHA1).
You need to explicit send "" to state: don't use default.... It's a legacy default.

from as2-lib.

ihudedi avatar ihudedi commented on June 5, 2024

I meant setting null in as2clientsetting.setmdnoptions((String)null)

from as2-lib.

ihudedi avatar ihudedi commented on June 5, 2024

I didn't understand.for not requested mdn I set null and for unsigned I set "".?

from as2-lib.

phax avatar phax commented on June 5, 2024

To overall request and MDN or not, you use the method setMDNRequested (boolean) from the AS2ClientSettings class.
By default the requested MDN is signed. To disable this signing use setMDNOptions ("").
Ok?

from as2-lib.

ihudedi avatar ihudedi commented on June 5, 2024

If I set to null is it also fine? For not sending mdn do i need to set the mdniptions too?

from as2-lib.

phax avatar phax commented on June 5, 2024

Okay, I modified the implementation, so that MDNOptions can also be null :)

from as2-lib.

ihudedi avatar ihudedi commented on June 5, 2024

10x:)

from as2-lib.

Related Issues (20)

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.