File "PrivateKeySerializerInterface.php"

Full Path: /home/digidjwy/public_html/wp-content/plugins/mycryptocheckout/vendor/bitwasp/bitcoin/src/Crypto/EcAdapter/Serializer/Key/PrivateKeySerializerInterface.php
File size: 501 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace BitWasp\Bitcoin\Crypto\EcAdapter\Serializer\Key;

use BitWasp\Bitcoin\Crypto\EcAdapter\Key\PrivateKeyInterface;
use BitWasp\Buffertools\BufferInterface;

interface PrivateKeySerializerInterface
{
    /**
     * @param PrivateKeyInterface $privateKey
     * @return BufferInterface
     */
    public function serialize(PrivateKeyInterface $privateKey);

    /**
     * @param string|BufferInterface $data
     * @return PrivateKeyInterface
     */
    public function parse($data);
}