void function ( ) { ExtendedMetadataDelegate loc0 = getMetadata ( "srini_string" ) ; loc0 . setMetadataRequireSignature ( true ) ; loc0 . setMetadataTrustCheck ( true ) ; manager . addMetadataProvider ( loc0 ) ; manager . refreshMetadata ( ) ; assertNull ( manager . getEntityDescriptor ( "srini_string" ) ) ; }
test verifies that metadata signed by trusted ca but with intermediary certificate missing is skipped . concode_field_sep MetadataManager manager concode_elem_sep ApplicationContext context concode_elem_sep ParserPool pool concode_elem_sep KeyManager keyManager concode_field_sep void testSignature_invalidSelfSigned concode_elem_sep ExtendedMetadataDelegate getMetadata concode_elem_sep void testSignature_chain_CA concode_elem_sep void initialize concode_elem_sep void testSignature_missing_intermediaryCA_ignore_trust concode_elem_sep void testSignature_chain_CA_noCRL concode_elem_sep void testMissingSignature concode_elem_sep void testMissingSignature_notRequired concode_elem_sep void testSignature_validSelfSigned concode_elem_sep void testSignature_validCA