Class BasicDynamicTrustedNamesStrategy

  • All Implemented Interfaces:
    Function<XMLObject,​Set<String>>

    public class BasicDynamicTrustedNamesStrategy
    extends Object
    implements Function<XMLObject,​Set<String>>
    Function which implements a basic strategy for extracting trusted names for PKIX trust engine evaluation.

    Names are extracted as follows from these signed metadata element types:

    • EntityDescriptor: the entityID attribute
    • EntitiesDescriptor: the Name attribute
    • RoleDescriptor: the entityID attribute of the parent EntityDescriptor
    • AffiliationDescriptor: 1) the affiliationOwnerID attribute and 2) the entityID attribute of the parent EntityDescriptor