org.keycloak.protocol.saml

## Class SamlProtocolUtils

- java.lang.Object
- - org.keycloak.protocol.saml.SamlProtocolUtils

-     public class SamlProtocolUtils
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SamlProtocolUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PublicKey` | `getEncryptionValidationKey(ClientModel client)`
    `static PublicKey` | `getPublicKey(ClientModel client, String attribute)`
    `static PublicKey` | `getSignatureValidationKey(ClientModel client)`
    `static void` | `verifyDocumentSignature(ClientModel client, Document document)`
    `static void` | `verifyDocumentSignature(Document document, PublicKey publicKey)`
    `static void` | `verifyRedirectSignature(PublicKey publicKey, javax.ws.rs.core.UriInfo uriInformation, String paramKey)`

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

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

- - ### Constructor Detail

    - #### SamlProtocolUtils

          public SamlProtocolUtils()

  - ### Method Detail

    - #### verifyDocumentSignature

          public static void verifyDocumentSignature(ClientModel client,
                                                     Document document)
                                              throws VerificationException

      Throws:
        `VerificationException`

    - #### verifyDocumentSignature

          public static void verifyDocumentSignature(Document document,
                                                     PublicKey publicKey)
                                              throws VerificationException

      Throws:
        `VerificationException`

    - #### getSignatureValidationKey

          public static PublicKey getSignatureValidationKey(ClientModel client)
                                                     throws VerificationException

      Throws:
        `VerificationException`

    - #### getEncryptionValidationKey

          public static PublicKey getEncryptionValidationKey(ClientModel client)
                                                      throws VerificationException

      Throws:
        `VerificationException`

    - #### getPublicKey

          public static PublicKey getPublicKey(ClientModel client,
                                               String attribute)
                                        throws VerificationException

      Throws:
        `VerificationException`

    - #### verifyRedirectSignature

          public static void verifyRedirectSignature(PublicKey publicKey,
                                                     javax.ws.rs.core.UriInfo uriInformation,
                                                     String paramKey)
                                              throws VerificationException

      Throws:
        `VerificationException`

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