public static function create(string $signature, array $protectedHeader, ?string $encodedProtectedHeader, array $header = []): self
    {
        return new self($signature, $protectedHeader, $encodedProtectedHeader, $header);
    }
public static function create(string $signature, array $protectedHeader, ?string $encodedProtectedHeader, array $header = []): self
    {
        return new self($signature, $protectedHeader, $encodedProtectedHeader, $header);
    }
public static function create ( string $ signature , array $ protectedHeader , ? string $ encodedProtectedHeader , array $ header = [ ] ) : self { return new self ( $ signature , $ protectedHeader , $ encodedProtectedHeader , $ header ) ; }
Creates a new signature.

@internal

@return Signature
Creates a new signature .