org.keycloak.saml.processing.core.saml.v2.util

## Class SAMLMetadataUtil

- java.lang.Object
- - org.keycloak.saml.processing.core.saml.v2.util.SAMLMetadataUtil

-     public class SAMLMetadataUtil
      extends Object

  Deals with SAML2 Metadata
  Since:
    Jan 31, 2011
  Author:
    Anil.Saldhana@redhat.com

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SAMLMetadataUtil()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static X509Certificate` | `getCertificate(KeyDescriptorType keyDescriptor)` Get the `X509Certificate` from the KeyInfo
    `static X509Certificate` | `getCertificate(KeyTypes use, SSODescriptorType ssoDescriptorType)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SAMLMetadataUtil

          public SAMLMetadataUtil()

  - ### Method Detail

    - #### getCertificate

          public static X509Certificate getCertificate(KeyDescriptorType keyDescriptor)
                                                throws ConfigurationException,
                                                       ProcessingException

      Get the `X509Certificate` from the KeyInfo
      Parameters:
        `keyDescriptor` -
      Returns:
      Throws:
        `ProcessingException`
        `ConfigurationException`

    - #### getCertificate

          public static X509Certificate getCertificate(KeyTypes use,
                                                       SSODescriptorType ssoDescriptorType)

Copyright © 2021 JBoss by Red Hat. All rights reserved.