Builds this identity provider's metadata for a service provider, signed with the signature first inside the EntityDescriptor.
the realm's base URL
the service provider's entityID
the metadata document, unsigned only when signing failed
Builds this identity provider's metadata for a service provider, signed with the signature first inside the EntityDescriptor.