Overview

Namespaces

  • Composer
    • Autoload
  • Geekwright
    • RegDom
  • League
    • OAuth2
      • Client
        • Provider
  • None
  • Xmf
    • Database
    • Jwt
    • Key
    • Module
      • Helper

Classes

  • ArrayStorage
  • Basic
  • FileStorage
  • KeyAbstract

Interfaces

  • StorageInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class KeyAbstract

Xmf\Key\StorageInterface

load a database table

Direct known subclasses

Xmf\Key\Basic
Abstract
Namespace: Xmf\Key
Package: Xmf
Category: Xmf\Key\KeyAbstract
Copyright: 2016 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at lass/libraries/vendor/xoops/xmf/src/Xmf/Key/KeyAbstract.php
Methods summary
public
# __construct( Xmf\Key\StorageInterface $storage, string $name )

KeyAbstract constructor.

KeyAbstract constructor.

Parameters

$storage
key store
$name
case insensitive key name, allow only A-Z, 0-9, _ and -
abstract public string
# getSigning( )

get key for use in signing

get key for use in signing

Returns

string
signing key
abstract public string
# getVerifying( )

get key for use in verifying

get key for use in verifying

Returns

string
verifying key
abstract public boolean
# create( )

create the key and store it for use

create the key and store it for use

Returns

boolean
true if key was created and stored, otherwise false
abstract public boolean
# kill( )

delete the key

delete the key

Returns

boolean
true if key was deleted, otherwise false
Properties summary
protected Xmf\Key\StorageInterface $storage
#
protected string $name
#
API documentation generated by ApiGen