Package org.keycloak.saml
Class SPMetadataDescriptor
java.lang.Object
org.keycloak.saml.SPMetadataDescriptor
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeyDescriptorType
buildKeyDescriptorType
(Element keyInfo, KeyTypes use, String... algorithm) static Element
buildKeyInfoElement
(String keyName, String pemEncodedCertificate) static EntityDescriptorType
buildSPDescriptor
(URI loginBinding, URI logoutBinding, URI assertionEndpoint, URI logoutEndpoint, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts)
-
Constructor Details
-
SPMetadataDescriptor
public SPMetadataDescriptor()
-
-
Method Details
-
buildSPDescriptor
public static EntityDescriptorType buildSPDescriptor(URI loginBinding, URI logoutBinding, URI assertionEndpoint, URI logoutEndpoint, boolean wantAuthnRequestsSigned, boolean wantAssertionsSigned, boolean wantAssertionsEncrypted, String entityId, String nameIDPolicyFormat, List<KeyDescriptorType> signingCerts, List<KeyDescriptorType> encryptionCerts) -
buildKeyDescriptorType
public static KeyDescriptorType buildKeyDescriptorType(Element keyInfo, KeyTypes use, String... algorithm) -
buildKeyInfoElement
public static Element buildKeyInfoElement(String keyName, String pemEncodedCertificate) throws ParserConfigurationException - Throws:
ParserConfigurationException
-