question: private Element createX509Data ( ) throws Exception { Element x509DataEle = null ; List < Certificate > certs = idmClient . getTenantCertificate ( tenantName ) ; if ( ! certs . isEmpty ( ) ) { x509DataEle = doc . createElement ( SAMLNames . DS_X509DATA ) ; for ( Certificate cert : certs ) { Element x509CertificateEle = createCertificate ( cert ) ; x509DataEle . appendChild ( x509CertificateEle ) ; } } return x509DataEle ; }
target:  Return a ds:x509Data Element in DOM.