File: src/PublicKey.php

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  Easy PHP RSA Library  >  src/PublicKey.php  >  Download  
File: src/PublicKey.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Easy PHP RSA Library
RSA data encryption and decryption using phpseclib
Author: By
Last change:
Date: 2 months ago
Size: 468 bytes
 

Contents

Class file image Download
<?php
namespace ParagonIE\EasyRSA;

class
PublicKey
{
    protected
$keyMaterial = '';

   
/**
     * PrivateKey constructor.
     * @param $string
     */
   
public function __construct($string)
    {
       
$this->keyMaterial = $string;
    }

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

   
/**
     * @return string
     */
   
public function getKey()
    {
        return
$this->keyMaterial;
    }
}


For more information send a message to info at phpclasses dot org.