Lines Matching refs:descriptor
142 * Signs the entity descriptor root element by the following rules:
161 * @param descriptor The entity descriptor.
162 * @return Signed <code>Document</code> for the entity descriptor or null if no metadata signing key is found in
164 * @throws SAML2MetaException if unable to sign the entity descriptor.
165 * @throws JAXBException if the entity descriptor is invalid.
167 public static Document sign(String realm, EntityDescriptorElement descriptor)
169 if (descriptor == null) {
170 throw new SAML2MetaException("Unable to sign null descriptor");
175 EntityConfigElement cfgElem = metaManager.getEntityConfig(realm, descriptor.getEntityID());
191 String xmlstr = SAML2MetaUtils.convertJAXBToString(descriptor);
233 * Verifies signatures in entity descriptor represented by the
236 * @throws SAML2MetaException if unable to verify the entity descriptor.
477 RoleDescriptorType descriptor;
480 descriptor = SAML2MetaUtils.getIDPSSODescriptor(desp);
481 if (baseConfig == null || descriptor == null) {
487 descriptor = SAML2MetaUtils.getSPSSODescriptor(desp);
488 if (baseConfig == null || descriptor == null) {
497 removeKeyDescriptor(descriptor, isSigning);
508 updateKeyDescriptor(descriptor, keyDescriptors);