Skip to content

How to enforce signature and encryption for receiving messages? #161

Closed Answered by phax
sopgreg asked this question in Q&A
Discussion options

You must be logged in to vote

As it turns out, the proposed solution to add this to the profile is not sufficient. This would need to be done for every message type separately. Instead the following methods can be used on a case by case basis:

  • IAS4MessageState.isSoapSignatureChecked () returns true if the message was signed
  • IAS4MessageState.isSoapDecrypted() returns true if the message was decrypted

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@phax
Comment options

Answer selected by sopgreg
@sopgreg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
Profile BDEW BDEW AS4 related
2 participants