org.keycloak.crypto

## Class MacSecretSignatureProvider

- java.lang.Object
- - org.keycloak.crypto.MacSecretSignatureProvider

- All Implemented Interfaces:
    SignatureProvider, Provider

      public class MacSecretSignatureProvider
      extends Object
      implements SignatureProvider

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MacSecretSignatureProvider(KeycloakSession session, String algorithm)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isAsymmetricAlgorithm()`
    `SignatureSignerContext` | `signer()`
    `SignatureVerifierContext` | `verifier(String kid)`

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

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

    - ### Methods inherited from interface org.keycloak.crypto.SignatureProvider

      `close`

- - ### Constructor Detail

    - #### MacSecretSignatureProvider

          public MacSecretSignatureProvider(KeycloakSession session,
                                            String algorithm)

  - ### Method Detail

    - #### signer

          public SignatureSignerContext signer()
                                        throws SignatureException

      Specified by:
        `signer` in interface `SignatureProvider`
      Throws:
        `SignatureException`

    - #### verifier

          public SignatureVerifierContext verifier(String kid)
                                            throws VerificationException

      Specified by:
        `verifier` in interface `SignatureProvider`
      Throws:
        `VerificationException`

    - #### isAsymmetricAlgorithm

          public boolean isAsymmetricAlgorithm()

      Specified by:
        `isAsymmetricAlgorithm` in interface `SignatureProvider`

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