Example #1
0
        public Endpoint GetEndpoint(
            ServiceMetadata serviceMetadata,
            ProcessIdentifier processIdentifier,
            TransportProfile[] transportProfiles) // throws PeppolSecurityException, EndpointNotFoundException
        {
            Endpoint endpoint = serviceMetadata.GetEndpoint(processIdentifier, transportProfiles);

            this.validator.Validate(Service.Ap, endpoint.Certificate);

            return(endpoint);
        }