Interface IBDXLURLProvider

All Superinterfaces:
ISMPURLProvider
All Known Implementing Classes:
BDXLURLProvider, DBNAURLProviderSMP

public interface IBDXLURLProvider extends ISMPURLProvider
BDXP URL provider. Layout: strip-trailing(base32(sha256(lowercase(ID-VALUE))),"=")+"."+ID-SCHEME+"."+SML-ZONE-NAME
Since:
6.1.2, reworked in 8.1.7
Author:
Philip Helger
  • Method Details

    • getDNSNameOfParticipant

      @Nonnull String getDNSNameOfParticipant(@Nonnull com.helger.peppolid.IParticipantIdentifier aParticipantIdentifier, @Nullable String sSMLZoneName) throws SMPDNSResolutionException
      Get the name of the DNS NAPTR record.
      Parameters:
      aParticipantIdentifier - Participant identifier. May not be null.
      sSMLZoneName - e.g. sml.peppolcentral.org.. May be empty. If it is not empty, it must end with a dot!
      Returns:
      DNS record. It does not contain any prefix like http:// or any path suffix. It is the plain DNS host name.
      Throws:
      SMPDNSResolutionException - If the URL resolution failed.
      IllegalArgumentException - In case one argument is invalid
    • getDNSNameOfParticipant

      @Nonnull default String getDNSNameOfParticipant(@Nonnull com.helger.peppolid.IParticipantIdentifier aParticipantIdentifier, @Nonnull com.helger.peppol.sml.ISMLInfo aSMLInfo) throws SMPDNSResolutionException
      Get the name of the DNS NAPTR record.
      Parameters:
      aParticipantIdentifier - Participant identifier. May not be null.
      aSMLInfo - The SML information object to be used. May not be null.
      Returns:
      DNS record. It does not contain any prefix like http:// or any path suffix. It is the plain DNS host name.
      Throws:
      SMPDNSResolutionException - If the URL resolution failed.