Package org.jboss.resteasy.security.doseta

## Interface KeyRepository

- All Known Implementing Classes:
    `ConfiguredDosetaKeyRepository`, `DosetaKeyRepository`

      public interface KeyRepository

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `PrivateKey` | `findPrivateKey​(DKIMSignature header)` |
    `PublicKey` | `findPublicKey​(DKIMSignature header)` |
    `String` | `getDefaultPrivateDomain()` | What should be the default domain to use when creating signature header
    `String` | `getDefaultPrivateSelector()` | What should be the default selector to use when creating signature header

- - ### Method Detail

    - #### findPrivateKey

          PrivateKey findPrivateKey​(DKIMSignature header)

    - #### findPublicKey

          PublicKey findPublicKey​(DKIMSignature header)

    - #### getDefaultPrivateDomain

          String getDefaultPrivateDomain()

      What should be the default domain to use when creating signature header
      Returns:
        null if none

    - #### getDefaultPrivateSelector

          String getDefaultPrivateSelector()

      What should be the default selector to use when creating signature header
      Returns:
        null if none