CoreFiles by mySites.guru
JWSSerializer.php29 lines, 589 bytes, from Joomla_5.2.0-Stable-Full_Package.zip
Raw History Compare with 5.1.4
md5
c73c97bd440fd51417776a0051bdd147
sha1
bd2b9af74b70c45607e904fd9a1cadc534f5e242
sha256
47a13030512d33d9b355189b1fc0182d5fec5d95d4b2bd30fe4f241265c1f28b
<?php

declare(strict_types=1);

namespace Jose\Component\Signature\Serializer;

use Jose\Component\Signature\JWS;

interface JWSSerializer
{
    /**
     * The name of the serialization.
     */
    public function name(): string;

    public function displayName(): string;

    /**
     * Converts a JWS into a string.
     */
    public function serialize(JWS $jws, ?int $signatureIndex = null): string;

    /**
     * Loads data and return a JWS object.
     *
     * @param string $input A string that represents a JWS
     */
    public function unserialize(string $input): JWS;
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.