Interface JwksKeyWriter<K extends java.security.Key>

    • Method Detail

      • canWriteKey

        boolean canWriteKey​(java.security.Key key)
        Indicates if able to write the Key.
        Parameters:
        key - Key.
        Returns:
        true if able to write the Key.
      • writeKey

        void writeKey​(JwksKeyWriterContext<K> context)
               throws java.lang.Exception
        Writes the Key as ObjectNode.
        Parameters:
        context - JwksKeyWriterContext.
        Throws:
        java.lang.Exception - If fails to write the Key.