PHP Classes

File: src/KeyInterface.php

Recommend this page to a friend!
  Classes of Scott Arciszewski   PHP PASeTo   src/KeyInterface.php   Download  
File: src/KeyInterface.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP PASeTo
Encrypt and decrypt data with PaSeTO protocol
Author: By
Last change:
Date: 4 years ago
Size: 507 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
ParagonIE\Paseto;

/**
 * Interface KeyInterface
 * @package ParagonIE\Paseto
 */
interface KeyInterface
{
   
/**
     * The intended version for this protocol. Currently only meaningful
     * in asymmetric cryptography.
     *
     * @return ProtocolInterface
     */
   
public function getProtocol(): ProtocolInterface;

   
/**
     * @return string
     */
   
public function raw();

   
/**
     * @return array
     */
   
public function __debugInfo();
}