Extracting agreementRef from IPMode? #169
Replies: 1 comment
-
Lets try to reverse engineer the meaning of ebMS Core 3.0 spec:
The <eb:CollaborationInfo>
<eb:AgreementRef>urn:fdc:peppol.eu:2017:agreements:tia:ap_provider</eb:AgreementRef>
<eb:Service type="cenbii-procid-ubl">urn:fdc:peppol.eu:2017:poacc:billing:01:1.0</eb:Service>
<eb:Action>busdox-docid-qns::urn:oasis:names:specification:ubl:schema:xsd:Invoice-2::Invoice##urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0::2.1</eb:Action>
<eb:ConversationId>phase4@Conv7764093634010523874</eb:ConversationId>
</eb:CollaborationInfo> I think what you need is first a custom Now my detailed knowledge about ENTSOG is de facto zero. Do you need point-to-point PModes or do you use "general PModes" that only differ by certificate(s) and endpoint URL? In the latter case, you could define n PModes - one for each agreementRef.... hth |
Beta Was this translation helpful? Give feedback.
-
I am currently using a custom implementation of
IAS4PModeAwareCryptoFactory
to get the ids of theinitiator
andresponder
. I the use these to determine what certificates to use. I would however like to use the agreementRef instead as it also contains the version of the certificate that should be used.I have looked at the entire IPMode interface and have not been able to find anything. The getter
getAgreement()
returnsurn:as4:agreement
An example of an agreementRef with versioning looks like this:
http://entsog.eu/communication/agreements/EIC_A/EIC_B/V
whereEIC_A
,EIC_B
are the party’s EIC codes in alphabetical order andV
is a number which increments which each certificate update.Beta Was this translation helpful? Give feedback.
All reactions